-
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
Explain why version cannot be retrieved due to python-requires #9615
Comments
Sounds reasonable, but the implementation would be much less straightforward than it would seem at first glance. Python package distribution is file-based, not version-based, so it does not actually make sense to say “ipython==7.20.0 was found but cannot be installed due to |
What's the problem this feature will solve?
I am trying to install a specific version of a package (
ipython==7.20.0
in this case). However my version of python is 3.6 and the python-requires of this version is 3.7 at the latest. Leading to pip displaying this upon install request:Describe the solution you'd like
I would like for pip to display that even if this version exists, it cannot be installed as it is incompatible with my python version.
A message like the following would be neat:
Now that more and more python modules are dropping support for python 3.6 (
pandas
,numpy
,werkzeug
from the top of my head) while python 3.6 is still heavily used, I am fairly certain the number of users facing this rejection is high.The message is not clear enough to understand in one go what the issue was and forces the developer in question to investigate. While pip already did the investigation, but did not shared the reason.
It's maybe a long shot but it would be even better if the message could provide the latest compatible version for such project (if any).
Thanks for your time
The text was updated successfully, but these errors were encountered: