-
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
Don't crash on invalid requirements in installed packages #5842
Conversation
What's the return code of |
Whatever it would be if that package wasn't there - it will check the other packages as normal. I guess |
I think yes. |
OK, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we could get a test with it ? :)
I added a test; I'm not working on this further at the moment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the test :)
@xavfernandez: it might be better holding-off merging things until Github is fully operational again, see https://status.github.com/messages. |
I'm optimistic ;) |
Would it be possible to get a release with this fix? |
The next release is scheduled for January - see https://pip.pypa.io/en/latest/development/release-process/#release-cadence |
Would it be reasonable to make a small patch release that contains a backport of this change? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
See #5839. This adds exception handling in two places:
pip install
machinery calls into the check machinery, because I believe that an uncaught error in checking shouldn't be able to crash the install process.