Add a workflow to publish versions to another repository#17648
Merged
Conversation
0005b42 to
6a13573
Compare
6a13573 to
66e52c4
Compare
66e52c4 to
48e220a
Compare
This was referenced Jan 21, 2026
zanieb
added a commit
to astral-sh/python-build-standalone
that referenced
this pull request
Jan 30, 2026
zanieb
added a commit
that referenced
this pull request
Feb 4, 2026
This is loosely a copy of the `publish-docs` workflow. It uses https://github.com/astral-sh/versions/blob/main/scripts/publish-version.py to add the latest version in the cargo dist plan to that repository.
zanieb
added a commit
to astral-sh/ruff
that referenced
this pull request
Feb 5, 2026
zanieb
added a commit
that referenced
this pull request
Feb 11, 2026
…ormat` (#17651) I'm picking up some pretty old work here prompted by astral-sh/setup-uv#737 and a desire to be able to fetch newer `python-build-standalone` versions. Previously, we only supported a static version which means we can construct a known GitHub asset URL trivially. However, to support the "latest" version or version constraints, we need a registry with metadata. The GitHub API is notoriously rate limited, so we don't want to use that. It'd be great to use PyPI (and more broadly, the resolver), but I don't want to introduce it in this code path yet. Instead, this hits https://github.com/astral-sh/versions in order to determine the available versions. We stream the NDJSON line by line to avoid downloading the whole file in order to read one version. Loosely requires #17648 to reach production and be ported to `ruff`, though it's not a blocker.
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.
This is loosely a copy of the
publish-docsworkflow. It uses https://github.com/astral-sh/versions/blob/main/scripts/publish-version.py to add the latest version in the cargo dist plan to that repository.