-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Pip does not abort when asked to install non-existent extra #6064
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
Comments
you requested the package |
What I wanted is a whole different story, not worth repeating here. The ticket is about something else though: extra package |
We could maybe add an option to abort installation on a missing extra but I'm not really convinced... |
But this is not the only instance when Another example is when you have a previously installed dependency with a version incompatible with the currently installed dependency. To give you an example of this: try depending on What I'm looking for is not a solution to this single instance. I want |
Let's keep the issue focused.
The dependency resolution issue is #988.
|
That's trivial even without |
That's trivial: someone installed something conflicting without looking at the logs ;) (or did not care). |
@wvxvw Your expected behavior is:
However, the package does exist. It doesn't have the "common" extra here. Outside of an abort, what do you think would be a good way to work with this issue? |
@xavfernandez I changed the labels on this issue since it's really more about extras and not dependency resolution. Lemme know if you disagree. :) |
There's a new topic #7122 that has some discussion on this same issue. I'll close this in favor of that one since it has more specific discussion related to the original issue. @wvxvw if your concerns were not met with the previously-provided links please do not hesitate to create an issue! |
Environment
Description
Suppose, you wanted to install
azure[common]
. Well, there isn't such a package. However, if you do this,azure
package (seems like) will be installed.Expected behavior
Error is shown to the user trying to install a nonexistent package.
How to Reproduce
Run
pip install 'azure[common]'
.Output
A long wall of text indicating that things are being installed.
The text was updated successfully, but these errors were encountered: