Explain why version cannot be retrieved due to python-requires #9615
Labels
C: error messages
Improving error messages
state: awaiting PR
Feature discussed, PR is needed
type: feature request
Request for a new feature
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: