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

Cannot get package meta when requirement file uses --follow-links #104

Open
pilosus opened this issue Jul 12, 2022 · 0 comments
Open

Cannot get package meta when requirement file uses --follow-links #104

pilosus opened this issue Jul 12, 2022 · 0 comments

Comments

@pilosus
Copy link
Owner

pilosus commented Jul 12, 2022

To reproduce:

  1. Create a requirements.txt
-f https://download.pytorch.org/whl/torch_stable.html
torch==1.7.0+cpu
  1. Pass in to the checker and get an error
lein run --requirements requirements.txt
torch:1.7.0+cpu                     Error                                                   Error      

The problem is that we plug in an external link with a package version that is absent from the global PyPI index. That's why we cannot compare versions and get the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant