konstin / poc-monotrail

Proof Of Concept for python package management without virtualenvs
25 stars 4 forks source link

Adding `wheel` to the Python development environment #55

Closed cnpryer closed 1 year ago

cnpryer commented 1 year ago

I had some trouble with my environment (macos). Running cargo test resulted in the following failures

Processing /Users/chrispryer/Library/Caches/monotrail/artifacts/cffi/1.15.1/cffi-1.15.1.tar.gz
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: cffi
  Building wheel for cffi (setup.py): started
  Building wheel for cffi (setup.py): finished with status 'error'
  Running setup.py clean for cffi
Failed to build cffi---stderr:
error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
   ...

failures:
    test_flipstring
    test_pipx_black_version
    test_poetry_config
    test_srcery

My environment required pip install wheel in order to get the tests working with Python 3.8.15.

cnpryer commented 1 year ago

I purged my environment and tried again with Python 3.8.15 as-is. I was confused why I needed wheel in 3.8. It works.