-
Notifications
You must be signed in to change notification settings - Fork 54
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 export requirements.txt produces an invalid constraint file #126
Comments
yeah, I think this just duplicates #125 |
Even more surprising, I have removed all instances of |
You have |
I will close this as its a duplicate of #125 as mentioned above. If you are trying to do what I am doing, which is to get only the dev dependencies installed then you can now use |
Worth noting (obviously, this is also stated on the linked issues) that |
-vvv
option) and have included the output below.Issue
Before upgrading to poetry
1.2.1
, I was using1.1.4
. In my CICD pipeline I hadnox
installing my dependencies by having poetry export a requirements.txt. This was the commandnox
would run.$ poetry export --with dev --format=requirements.txt --without-hashes --output=/tmp/tmpzi691uyz
It then ran this command:
$ python -m pip install --constraint=/tmp/tmpke1yt5pq flake8 flake8-black flake8-bugbear flake8-import-order
This used to work correctly but now I get this:
When I cat the requirements file I see coverage twice (its the only dependency I have where I use an "extra").
I don't know why its listed twice. I do know that the generated file does install correctly from a new venv, so its only broken when used as a constraint file.
The text was updated successfully, but these errors were encountered: