-
Notifications
You must be signed in to change notification settings - Fork 980
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
Turn --verify-hashes
on by default
#9170
Conversation
c4579a7
to
508fa16
Compare
creating src/project.egg-info | ||
writing src/project.egg-info/PKG-INFO | ||
writing dependency_links to src/project.egg-info/dependency_links.txt | ||
writing requirements to src/project.egg-info/requires.txt | ||
writing top-level names to src/project.egg-info/top_level.txt | ||
writing manifest file 'src/project.egg-info/SOURCES.txt' |
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 don't understand what's causing these two new lines
6fc0594
to
0e2dfae
Compare
Note that |
What if we change It would also be somewhat conventional for us to make |
I assume you meant |
Sounds good, I'll see what I can do... |
Okay, the issue is that |
a942b91
to
16c5c5e
Compare
Okay I modified things a bit such that instead of |
16c5c5e
to
0832eca
Compare
pub const UV_VERIFY_HASHES: &'static str = "UV_VERIFY_HASHES"; | ||
/// Equivalent to the `--no-verify-hashes` argument. Disables hash verification for | ||
/// `requirements.txt` files. | ||
pub const UV_NO_VERIFY_HASHES: &'static str = "UV_VERIFY_HASHES"; |
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.
Need to change the string constant here
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.
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.
Hah, great... Thanks!
Fixes #9164
Using clap's
default_value_t
makes theflag
function unhappy, so just set the default when we unwrap. Tested with no flags,--verify-hashes
,--no-verify-hashes
and setting in uv.toml