fix #1652: Use GitHub API for standalone python checksums#1662
Merged
fix #1652: Use GitHub API for standalone python checksums#1662
Conversation
1 task
85de6ac to
cb65a03
Compare
13steinj
commented
Aug 26, 2025
e9ce1bb to
dc2efa9
Compare
Since the [20250708](https://github.com/astral-sh/python-build-standalone/releases/tag/20250708) release, the [python-build-standalone](https://github.com/astral-sh/python-build-standalone) project does not provide checksum files for individual artifacts, but rather a single `SHA256SUMS` manifest file containing checksums for all artifacts. However, since June 3, the GitHub API [directly provides checksums for release artifacts](https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/). Because we always fetch the latest release and it's been over a month since the last cached index file, we can just save the checksums in out cached index of Python versions.
dc2efa9 to
f2acbd1
Compare
Contributor
Author
|
I've re-pushed updating the testdata, since the tests failed last time. |
1 task
Closed
dukecat0
approved these changes
Sep 28, 2025
Member
|
LGTM, Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
changelog.d/(if the patch affects the end users)Summary of changes
Since the 20250708 release, the python-build-standalone project does not provide checksum files for individual artifacts, but rather a single
SHA256SUMSmanifest file containing checksums for all artifacts. However, since June 3, the GitHub APIdirectly provides checksums for release artifacts.
Because we always fetch the latest release and it's been over a month since the last cached index file, we can just save the checksums in out cached index of Python versions.
fixes #1652
closes #1655
Test plan
Tested by running
pipx install --python python3.10 --fetch-missing-pythonon a machine without python3.10