-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Default to --no-reuse-hashes #1184
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1184 +/- ##
=======================================
Coverage 99.67% 99.67%
=======================================
Files 34 34
Lines 3042 3042
Branches 327 327
=======================================
Hits 3032 3032
Misses 5 5
Partials 5 5
Continue to review full report at Codecov.
|
If this is the case, would it make sense to deprecate/remove the feature entirely? |
@jdufresne I'm in favour of that |
@jdufresne #1135 would probably need doing first though |
FTR: I've removed this PR from |
Artifactory doesn't support the |
@plannigan #1135 we could pull the hashes from the simple API |
Good to know. If sequence was try |
Probably not worth doing the /json endpoint now as the simple api will already have been downloaded with the hashes in |
There are widely used Python projects that rely extensively on
pytorch is a ~2GB download. Until these projects catch up, generating the hashes will be too expensive (slow and bandwidth intensive) if |
A breaking change for v6
Changelog-friendly one-liner: default to --no-reuse-hashes
Contributor checklist
Now that hashing is way faster than it once was, I think the slight speed improvement from caching no longer outweighs the danger of trusting local/accidental changes to the .txt pins