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

Show license for yanked Python packages for exact version matches #125

Closed
pilosus opened this issue Jan 23, 2023 · 0 comments · Fixed by #127
Closed

Show license for yanked Python packages for exact version matches #125

pilosus opened this issue Jan 23, 2023 · 0 comments · Fixed by #127
Assignees
Labels
bug Something isn't working

Comments

@pilosus
Copy link
Owner

pilosus commented Jan 23, 2023

It's correct to ignore yanked Python packages when there's no version specified expression or we use <, '>' or their variations with =. But in case of exact matching, we need to show the license, e.g.

grpcio==1.48.0

should show the license, rather than PyPI::version Not found.
We can also save time on fetching versions from PyPI Simple API for exact matching: no need to do two requests, as a request for JSON API will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant