-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Poetry fails to install numpy from git with Python 3.12.0b2 #8137
Comments
as you can see, this error is coming from the meson subprocess. You should start there. |
I'm having the same error with poetry 1.6.1 python3.12.0rc3 in a Debian 12 (bookworm) container. ChefBuildError Backend 'setuptools.build_meta:legacy' is not available. at ~/.local/lib/python3.12/site-packages/poetry/installation/chef.py:147 in _prepare python -m pip install numpy works as expected. |
that's not the same thing: but it's also not a poetry bug - you'll need to take this up with numpy too. |
I second this.
What should the workaround be? |
Still not a poetry bug, this should be closed. Take bug reports and questions to numpy |
Indeed, not a poetry bug. It was a python version error. I was on 3.12+, and needed 3.10 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Poetry (version 1.5.1)
poetry debug info
:-vvv
option) and have included the output below.Issue
With Python 3.12.0b2, Poetry fails to install numpy from git, while
pip install
installs the same revision normally.Reproduction:
poetry config virtualenvs.prefer-active-python true
pyenv local 3.12.0b2
poetry init
poetry add git+https://github.com/numpy/numpy.git#c0585616c9b563f28cb6121bc5c67575168d6a16 -vvv
python -m pip install https://github.com/numpy/numpy.git#c0585616c9b563f28cb6121bc5c67575168d6a16 --verbose
The text was updated successfully, but these errors were encountered: