-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Unable to install two extras in a project making use of different extras of a second library #7096
Comments
Yea, this is a problem with pip's extras merging logic. We'll likely fix that with #988. |
I think it would be reasonable here to make a test case and mark it xfail, then we can close this and track the fix itself with #988. |
FWIW I just checked this against master (2f3a1be) using both the default resolver and |
Update from the future: The new resolver cannot solve this problem (although it’s a prerequisite) because the requirements are currently merged before it reaches the resolver, by The root problem is similar to #8036 (comment). I’m reopening #7571 to track this and #8036. |
Environment
Description
I have a setup.py that defines extra requirements which, in turn, specify different extra requirements of a third package. My issue can be reproduced when using the following toy example:
I am trying to install both extras at once (
pip install -e .[extras1,extras2]
) but, when doing so, only the requirements of the first one are actually installed (i.e. it installs dask[diagnostics], but not dask[delayed]).I have noticed that removing these two lines allows me to do my desired behaviour.
The text was updated successfully, but these errors were encountered: