David-OConnor/pyflow

Is pyflow compatible with Python 3.10?

Closed this issue · 1 comments

Related to #154 and #157

Fails when installing awscrt 0.11.24 raises ImportError: No module named 'setuptools'

==> FAILED
==> Testing pyflow
==> /home/linuxbrew/.linuxbrew/Cellar/pyflow/0.3.1_1/bin/pyflow init
==> /home/linuxbrew/.linuxbrew/Cellar/pyflow/0.3.1_1/bin/pyflow install boto3
Found lockfile
⬇ Installing boto3 1.18.57 ...
⬇ Installing botocore 1.21.57 ...
⬇ Installing urllib3 1.26.7 ...
⬇ Installing python_dateutil 2.8.2 ...
⬇ Installing awscrt 0.11.24 ...
thread 'main' panicked at 'running setup.py bdist_wheel in folder "/tmp/pyflow-test-20211008-18815-167wlah/__pypackages__/3.10/lib/awscrt-0.11.24". Py path: "/tmp/pyflow-test-20211008-18815-167wlah/__pypackages__/3.10/.venv/bin/python": Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    import setuptools
ImportError: No module named 'setuptools'
', src/install.rs:391:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: pyflow: failed

No. I think I need to set up a patch and/or compile binaries (for each OS) on the repository it downloads Python from. It might work if you already have 3.10 installed. Should be a quick fix.