-
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
Diagnostic error when processing package already installed with invalid requirement #12953
base: main
Are you sure you want to change the base?
Diagnostic error when processing package already installed with invalid requirement #12953
Conversation
32aca48
to
968a190
Compare
I've improved the message to make it a little bit more accurate (not always about uninstallation) and more actionable (gives the location it is installed). Ready for review/merge. |
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.
Thank you!
I like the revised wording of the error message (since the exception can occur even when not uninstalling).
Could you update the PR description (and also the example in #12950 (comment)) to use the new wording (that's broader than just uninstall)? |
Done |
Fixes #12950
Creates a new exception message which gives the user a much clearer output:
Looking for feedback as I've never created a pip exception before and not sure how this would be tested.