-
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
Extras output differs from 1.1.15 #108
Comments
It is correct and necessary to include extras explicitly because of eg python-poetry/poetry#5537, else So I think this is going to be wont-fix, and you'll need to update your parsing - sorry |
Thanks for the clarification |
@dimbleby in that case, how hard would it be to support a ERROR: Constraints cannot have extras |
I've never looked into constraints format, if the only meaningful difference is omitting extras then it can't be that hard, you'd think. on the other hand it might be even easier for you just to |
Hello,
Upon attempting to upgrade Poetry from 1.1.15 to 1.2.0, I noticed the following change in behaviour.
poetry export
now includes extra definitions, previously these were expanded.With this config (reduced for simplicity)
Before - 1.1.15:
pipx run poetry==1.1.15 export --without-hashes -f requirements.txt -o ./requirements.txt
After - 1.2.0:
pipx run poetry==1.2.0 export --without-hashes -f requirements.txt -o ./requirements.txt
As the dependencies are already expanded to include extras (
connexion[flask,swagger-ui]
), it seems redundant to include the extras in the end requirements.txt.This breaks some existing parsing we had to make the output of
poetry export
compatible with a given constraints file.The text was updated successfully, but these errors were encountered: