-
-
Notifications
You must be signed in to change notification settings - Fork 614
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 pip-sync to check hashes #706
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fantastic! Thanks for implementing this. I consider my comments pretty minor and don't necessarily need to hold up merging this PR if they are more trouble than they are worth.
Under the hood the pip-sync installs packages by `pip install pkg1 pkg2 ...`, which causes the issue with checking hashes. Steps to fix: - gather all InstallRequirements into a temporary requirement file - install packages by `pip install -r temp-requirements.txt`
dcfaa0e
to
57ad548
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’ll merge this pull request tomorrow, any objections please speak up.
Sorry, I’m no longer a part of the organization and am not authorized to review code at this time. |
af89992
to
9ded2c9
Compare
Thanks @atugushev ! |
Fix pip-sync to check hashes when installing packages.
Fixes #619.
Changelog-friendly one-liner: Fix pip-sync to check hashes
Contributor checklist