-
Notifications
You must be signed in to change notification settings - Fork 107
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
Fix an issue when specifying full wheel URLs for a pypi package. #567
Conversation
The pypi solver expects hashes to be provided as part of the URL but, in most cases, if a user provides a URL for a package, they will not provide one with a hash. This PR ignores the missing hash instead of crashing. A test was added that fails prior to this change and succeeds after.
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I am not sure why that one test failed. Feels like more of a fluke and unrelated to the PR. |
Indeed, I suspect that there's an out-of-memory condition or similar that occasionally causes a cascade of failures like that. Upon rerunning it's passing again. |
Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com>
Co-authored-by: Ben Mares <services-git-throwaway1@tensorial.com>
Thanks for the super quick review. Accepted all changes. |
The pypi solver expects hashes to be provided as part of the URL but, in most cases, if a user provides a URL for a package, they will not provide one with a hash. This PR ignores the missing hash instead of crashing.
A test was added that fails prior to this change and succeeds after.