-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Confusing conflict message error message when pip can't build metadata for any version of package required #10478
Comments
I think this could be a feature request related to error messages, right? |
Yes, in retrospect I should of raised it as a feature request. Thanks for changing. |
Maybe failed to build package from source would be easier to understand for users? Not sure about the best wording here, the overall idea sounds good to me. |
Whoops, accidentally closed this thinking it was slightly different issue than I remembered, reopened. |
This should no longer happen. If a build fails, pip 22.0+ now abort immediately. Closing this, since I don't think we'd see this anymore. If someone sees this still with 22.0, please file a new issue with clear reproduction steps! |
Yeah that's why I closed it, but then I was a bit unsure and thought there might still be a way to reproduce it. I'll have a think and open a new issue if there's a specific way to reproduce it still. |
Description
I was testing the following installation failure in #10473 . It fails to install because one of the dependencies (weblogo) requires numpy to be installed to run it's
setup.py
and it skips over each version of weblogo and then attempts backtracking down the wrong path.Expected behavior
It would be useful to let the user know that the reason this is conflicting is because there were no valid installs avaiable for these version numbers, e.g.:
Given what I know about the pip code base this is probably tricky to implement? But I do think it's difficult for the user to parse the error message right now as pip is giving non-conflicting dependencies and saying they are conflicting.
pip version
21.3.1
Python version
all
OS
all
How to Reproduce
pysam
instead ofweblogo
)Output
No response
Code of Conduct
Edit: Note I edited this first post to reflect the current situation.
The text was updated successfully, but these errors were encountered: