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

Indicate python version mismatch rather than say no versions available. #13096

Closed
1 task done
ConnorStoneAstro opened this issue Nov 30, 2024 · 1 comment
Closed
1 task done
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature

Comments

@ConnorStoneAstro
Copy link

What's the problem this feature will solve?

I was trying to install a package (caskade) which only supports python 3.9 and up. I mistakenly was using python 3.8 and so kept getting this message:

ERROR: Could not find a version that satisfies the requirement caskade (from versions: none)
ERROR: No matching distribution found for caskade

Describe the solution you'd like

It would have been great if there had been a message saying something like "versions exist for python 3.9 you are using python 3.8..."

Alternative Solutions

even a simpler message would work

Additional context

NA

Code of Conduct

@ConnorStoneAstro ConnorStoneAstro added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Nov 30, 2024
@notatallshaw
Copy link
Member

notatallshaw commented Nov 30, 2024

Thanks for reporting, this has been reported before, such as the similiar #10784 (or #6695 or #6526).

My understanding is currently at the time of the error this information isn't available because pip already filtered out packages which are mismatching. But I'm sure if someone provided a high quality PR that improved the situation here it would be considered.

@notatallshaw notatallshaw closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants