-
-
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
Extra requirements are lost in pip-compile comments #1577
Comments
Let's say there are two subpackages, package Should the annotations for both of these subpackages include the |
I'm inclined to think that |
@atugushev I think we could have something like that in the requirements.txt:
Meaning: we strip all extras, but we keep them in the comments for clarity if someone wants to review where the package comes from. |
what if
or like this (but here we need to merge extras somehow):
I'd still prefer to strip all extras:
|
Good point, I agree with you then. |
I have a
requirements.txt
file with the following:When I run
python -m piptools compile
, the extra requirement[extra]
gets lost in the list ofvia
requirements undermy-sub-package
:I need the extra requirements to remain in the comments. We're parsing the output file of
pip-compile
that's breaking because the[extra]
requirement is gone from the comments.The text was updated successfully, but these errors were encountered: