-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install with poetry #467
Comments
thomas@MacBook-Air-TR joint-pca-hic % poetry add cython • cython If you want to update it to the latest compatible version, you can use Nothing to add. Updating dependencies Package operations: 8 installs, 0 updates, 0 removals • Installing imageio (2.31.5) ChefBuildError Backend subprocess exited when trying to invoke get_requires_for_build_wheel Traceback (most recent call last): at /opt/homebrew/Cellar/poetry/1.6.1_4/libexec/lib/python3.12/site-packages/poetry/installation/chef.py:147 in _prepare Note: This error originates from the build backend, and is likely not a problem with poetry but with cooltools (0.5.4) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "cooltools (==0.5.4)"'. |
So I ran what poetry suggested: |
Hi Thomas, would you be able to make a PR with this fix? |
I would if I knew how. Do you have any pointers? The issue seems to be that cooltools requires cython to build. It installs with pip if cython is already installed. However, poetry seems to try building it in a separate environment, so even if you |
Oh I see, sorry, I misunderstood your last comment and thought that was the fix. Sorry, I've never used poetry, no idea... But packaging with cython has always been a pain. |
I can install cooltools using pip but not with poetry. I found a very similar issue here: python-poetry/poetry#4543.
The build configuration for cool tools isn't PEP518 compliant. I've synced with @GarrettNg
The text was updated successfully, but these errors were encountered: