-
-
Notifications
You must be signed in to change notification settings - Fork 610
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
Piptools compile fails with python 3.8 #1336
Comments
Hello @cducrest, Thanks for the report. Is there a |
The content of pyproject.toml is
My current goal is to update from python 3.6 to 3.8 and later also support 3.9 |
Thanks! Which version of setuptools? |
setuptools 54.0.0 |
Could you check also this related pypa/setuptools#1694 (comment) issue? |
I checked the related issue and at first dismissed it (before posting here) because I am not using We can close this issue if you think it is not a problem coming from pip-tools. |
@cducrest could you reproduce the bug with the master branch?
|
It did work, I did:
Thanks for the help |
Cool! I presume it was fixed by #1311. Thanks for the issue report! |
piptools compile fails with error
AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
when ran with python3.8 and not with python3.6Environment Versions
Steps to replicate
I run
python3.8 -m piptools compile --output-file=requirements.txt constraints.in setup.py
with the folllowing setup.pysetup.py
and constraints.in
constraints.in
I expect it to generate the requirements.txt file but it raises an error:
error
If I run the same command with python3.6, the command runs through and the requirements are generated:
python3.6 -m piptools compile --output-file=requirements.txt constraints.in setup.py
.The text was updated successfully, but these errors were encountered: