-
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 packages fail to install from source with pip when setuptools 60.0.0 is installed, including Poetry itself. #4915
Comments
See https://github.com/pypa/setuptools/issues/2939#issuecomment-999040464 for what I think is happening. |
After adding My setup is the same as the OPs |
I have this problem when a new version of setuptools is installed, specifically For me, I must explicitly pin an older version of setuptools, e.g.: # pyproject.toml
[build-system]
requires = ["setuptools==58.3.0", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" The above reference issue on the setuptools GitHub repo has a list of setuptools versions that seem to still work as expected: This works when a project dependency must run a |
@jjorissen52 setuptools |
Thanks a lot for reporting this @alkasm 👍 I followed the issue on setuptools and was glad they found out the problem was on their site :) |
I wish poetry had pipx as it's official installation method and kept all its deps in its own venv |
The |
Hm... I had this error and it got fixed by upgrading system-wide setuptools and virtualenv |
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. |
-vvv
option).Issue
Installing poetry packages, including poetry itself, from source currently fails with the newest version of setuptools. I opened up an issue on their tracker as well with all the details.
See https://github.com/pypa/setuptools/issues/2939
Edit: Note that this issue has been resolved with setuptools 60.1.1.
Note that
poetry install
does not fail; onlypip install .
The text was updated successfully, but these errors were encountered: