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

pip doesn't see the latest versiions of packages #11635

Closed
1 task done
yurivict opened this issue Dec 5, 2022 · 4 comments
Closed
1 task done

pip doesn't see the latest versiions of packages #11635

yurivict opened this issue Dec 5, 2022 · 4 comments
Labels
C: error messages Improving error messages resolution: duplicate Duplicate of an existing issue/PR

Comments

@yurivict
Copy link

yurivict commented Dec 5, 2022

Description

PyPI has prompt-toolkit-3.0.33 as the latest version.

But when I ask pip to update prompt-toolkit it says that the latest version is 3.0.19:

$ pip install --upgrade prompt-toolkit==3.0.33
ERROR: Could not find a version that satisfies the requirement prompt-toolkit==3.0.33 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.25, 0.26, 0.28, 0.30, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46, 0.47, 0.48, 0.49, 0.50, 0.51, 0.52, 0.53, 0.54, 0.55, 0.56, 0.57, 0.58, 0.59, 0.60, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.13, 1.0.14, 1.0.15, 1.0.16, 1.0.17, 1.0.18, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.0.10, 3.0.11, 3.0.12, 3.0.13, 3.0.14, 3.0.15, 3.0.16, 3.0.17, 3.0.18, 3.0.19)
ERROR: No matching distribution found for prompt-toolkit==3.0.33

Expected behavior

No response

pip version

21.3.1

Python version

3.6.1

OS

Linux xx 3.10.0-1160.31.1.el7.x86_64 (CentOS)

How to Reproduce

pip install --upgrade prompt-toolkit==3.0.33

Output

No response

Code of Conduct

@yurivict yurivict added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Dec 5, 2022
@pfmoore
Copy link
Member

pfmoore commented Dec 5, 2022

Later versions have data-requires-python >= 3.6.2. You can see this by viewing the source of https://pypi.org/simple/prompt-toolkit/

The error message could certainly be better here.

@uranusjr uranusjr added C: error messages Improving error messages and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Dec 6, 2022
@uranusjr
Copy link
Member

uranusjr commented Dec 6, 2022

Merging this as a duplicate of #7797.

@uranusjr uranusjr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2022
@uranusjr uranusjr added the resolution: duplicate Duplicate of an existing issue/PR label Dec 6, 2022
@yurivict
Copy link
Author

yurivict commented Dec 6, 2022

The error should explain that a particular set of versions can't be installed because they aren't compatible with the current Python version.

@uranusjr
Copy link
Member

uranusjr commented Dec 6, 2022

Feel free to raise a pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: error messages Improving error messages resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants