Warn users of more recent package versions requiring newer Python #6695
Labels
state: needs discussion
This needs some more discussion
type: feature request
Request for a new feature
What's the problem this feature will solve?
In cases where a package has differing Python version requirements between releases users with non-latest Python versions will silently get old package versions installed.
Describe the solution you'd like
If a newer package version exists that has a python version requirement which exceeds the user's Python version pip should warn the user about this fact.
Example:
somepkg-1.0:
python_requires=">=3.5"
somepkg-1.2:
python_requires=">=3.5"
somepkg-2.0:
python_requires=">=3.6"
somepkg-3.0:
python_requires=">=3.7"
Users on Python < 3.6 will indefinitely (and silently) receive version
1.2
.This is related to #6526
Alternative Solutions
The user has to proactively inform themselves about the python version requirement of newer package versions.
This is not very likely esp. with 'casual' or endusers.
The text was updated successfully, but these errors were encountered: