Skip to content
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

Add update message to UnsupportedWheel exception message #13034

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jamestwebber
Copy link

Inspired by the discussion for PEP 777. This is a small change to pip's output when it encounters a wheel with a major version higher than it can currently handle. The existing message simply stated it was incompatible, the PR changes this to suggest updating pip.

There is a sort of chicken-or-egg problem here in that updating pip won't fix the problem until a new wheel version is supported. But on the other hand, there's no way for someone to try installing a 2.0 version wheel until one actually exists, so it seems unlikely that they will encounter this message until said wheels are being uploaded to PyPI.

added update nudge to UnsupportedWheel exception
@jamestwebber jamestwebber marked this pull request as ready for review October 21, 2024 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant