-
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
No useful warning if Python version is too low for desired package #8831
Comments
I believe this is already tracked somewhere, but couldn’t find the issue at the moment, and will keep this open for the moment. Can you describe what message would you expect to see in this situation? |
Something like:
|
Until we find out which issue also reported this, I just want to drop by and say this applies to all platform incompatibilities, including Python version too high (e.g. |
I think #6526 is the broader issue that this one is tied to (like how all our dependency resolution ones are tied to 988). |
I’m going to just close this in favour of #10421. This specific error message comes from the legacy resolver and is not going to be improved upon. The newer issue provides more relevant context toward the issue in its current state, against the current resolver implementation. |
Environment
(I am reporting this problem, because a user of my software encountered it. Therefore I do not have all the specifics.)
Description
When trying to install a package, which offers no version compatible with the current Python version, the following error message is raised:
While technically correct, this does not inform the user what the actual problem is (their version of Python is too low).
Expected behavior
Tell the user that the package could be installed for a higher version of Python.
How to Reproduce
Try to install any package that requires a Python version higher than the one on the system, e.g., install a package requiring Python 3.8 on a system with Python 3.6.
The text was updated successfully, but these errors were encountered: