Skip to content

Commit

Permalink
Update wheel.py
Browse files Browse the repository at this point in the history
added update nudge to UnsupportedWheel exception
  • Loading branch information
jamestwebber authored Oct 21, 2024
1 parent 53ba3fb commit 85b8cd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pip/_internal/utils/wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ def check_compatibility(version: Tuple[int, ...], name: str) -> None:
if version[0] > VERSION_COMPATIBLE[0]:
raise UnsupportedWheel(
"{}'s Wheel-Version ({}) is not compatible with this version "
"of pip".format(name, ".".join(map(str, version)))
"of pip, update pip to install {} successfully".format(
name, ".".join(map(str, version)), name
)
)
elif version > VERSION_COMPATIBLE:
logger.warning(
Expand Down

0 comments on commit 85b8cd8

Please sign in to comment.