-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
pip-compile: extras_require is ignored if it differs to a previously specified requirement #761
Comments
extras_require
is ignored if it differs to a previously specified requirement
Hello @jkp, Thank you for the detailed report (especially for the repo so nicely) and good catch! There is a bug indeed with editable packages. I'll take a look shortly. |
Actually, it's not a bug. This is the way how the For example:
Look how the order is important to
Second case -
|
OK! So basically put the new requirement first and it should solve the issue...nice. I will try that! |
That’s right! |
I'll close the issue then. Feel free to reopen if you still have an issue with it. |
Steps to replicate
requirements.in
specify that you want to install dependency X in editable mode.pip-compile
to generaterequirements.txt
requirements.dev.in
includerequirements.txt
as the first requirement and then specify that you want to install dependency X in editable mode with extras (e.gdev
).pip-compile requirements.dev.in
to generaterequirements.dev.txt
See the minimal test case here for a full example of the bug.
Expected result
requirements.dev.txt
contains the extra dependencies specified in package's Xextras_require
-[dev]
section.Actual result
The packages are missing.
The text was updated successfully, but these errors were encountered: