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

Pep 503 hashed urls #5701

Merged
merged 3 commits into from
Jun 2, 2023
Merged

Pep 503 hashed urls #5701

merged 3 commits into from
Jun 2, 2023

Conversation

matteius
Copy link
Member

The issue

PEP 503 https://peps.python.org/pep-0503/

The URL SHOULD include a hash in the form of a URL fragment with the following syntax: #=, where is the lowercase name of the hash function (such as sha256) and is the hex encoded digest.

The fix

This should enable non pypi.org sources that are following PEP 503 to be able to leverage those package hashes without downloading the package. This may also lead to a wider inclusion of package hashes in the lock file.

Replacement PR for: #5688

The checklist

  • A news fragment in the news/ directory to describe this fix with the extension .bugfix.rst, .feature.rst, .behavior.rst, .doc.rst. .vendor.rst. or .trivial.rst (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

@matteius matteius requested a review from oz123 May 21, 2023 11:45
@oz123 oz123 merged commit a8d1758 into main Jun 2, 2023
@oz123 oz123 deleted the pep-503-hashed-urls branch June 2, 2023 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants