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

Add a --require-hashes command-line setting #2824

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

I'll likely only merge this once the PR chain is further along, but this PR wires up the setting fro the CLI.

@charliermarsh charliermarsh added enhancement New feature or request do-not-merge Pull request is not ready to merge no-build Disable building binaries in CI labels Apr 4, 2024
@charliermarsh charliermarsh force-pushed the charlie/check-hashes branch 2 times, most recently from ec16897 to b626db8 Compare April 9, 2024 17:31
/// must either be pinned to exact versions (e.g., `==1.0.0`), or be specified via direct URL.
///
/// Hash-checking mode introduces a number of additional constraints:
/// - Git dependencies are not supported.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we require a full length hash for git, or is that just a follow up PR?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could but pip doesn't support these so I was hesitant to deviate.

@charliermarsh charliermarsh marked this pull request as ready for review April 10, 2024 18:06
@charliermarsh charliermarsh removed the do-not-merge Pull request is not ready to merge label Apr 10, 2024
@charliermarsh charliermarsh merged commit a9d554f into main Apr 10, 2024
34 of 35 checks passed
@charliermarsh charliermarsh deleted the charlie/check-hashes branch April 10, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-build Disable building binaries in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants