-
-
Notifications
You must be signed in to change notification settings - Fork 639
Open
Labels
annotationsRelated to packages annotationsRelated to packages annotationsextrasHandling optional dependenciesHandling optional dependencies
Description
I have a requirements.txt file with the following:
my-package[extra]~=1.0
my-sub-package~=1.1When I run python -m piptools compile, the extra requirement [extra] gets lost in the list of via requirements under my-sub-package:
my-package[extra]==1.0.0
# via -r requirements.txt
my-sub-package==1.1.1
# via
# -r requirements.txt
# my-packageI 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.
adaamz
Metadata
Metadata
Assignees
Labels
annotationsRelated to packages annotationsRelated to packages annotationsextrasHandling optional dependenciesHandling optional dependencies