Skip to content
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

Warn users of more recent package versions requiring newer Python #6695

Closed
ulope opened this issue Jul 10, 2019 · 1 comment
Closed

Warn users of more recent package versions requiring newer Python #6695

ulope opened this issue Jul 10, 2019 · 1 comment
Labels
state: needs discussion This needs some more discussion type: feature request Request for a new feature

Comments

@ulope
Copy link

ulope commented Jul 10, 2019

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.

@triage-new-issues triage-new-issues bot added the S: needs triage Issues/PRs that need to be triaged label Jul 10, 2019
@pradyunsg pradyunsg added state: needs discussion This needs some more discussion type: feature request Request for a new feature labels Jul 10, 2019
@triage-new-issues triage-new-issues bot removed S: needs triage Issues/PRs that need to be triaged labels Jul 10, 2019
@pradyunsg
Copy link
Member

Consolidating this into #10784, which is the same but has gotten more traction/discussion.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
state: needs discussion This needs some more discussion type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants