[PR #12629/66cc7b68 backport][3.13] Install Python via astral-sh/setup-uv in test/autobahn jobs#12638
Closed
bdraco wants to merge 2 commits into
Conversation
❌ 1 Tests Failed:
View the top 1 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
bdraco
marked this pull request as ready for review
May 18, 2026 22:45
bdraco
enabled auto-merge (squash)
May 18, 2026 22:45
bdraco
marked this pull request as draft
May 18, 2026 23:00
auto-merge was automatically disabled
May 18, 2026 23:00
Pull request was converted to draft
Member
Author
|
need to dig in to the test failure more. |
…10a466d4970de9619f10e/pr-12629
Member
|
Don't need 3.13 backport anymore. |
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 a backport of PR #12629 as merged into master (66cc7b6).
What do these changes do?
Swap
actions/setup-python@v6forastral-sh/setup-uv@v8.1.0inthe two CI matrix jobs that install a Python interpreter —
testand
autobahn.activate-environment: truekeepspython/pipon PATH so the subsequent
uv pip install ...invocations targetthe seeded venv.
enable-cache: truesubsumes the previousactions/cachepip-cache step, which is dropped.Are there changes in behavior for the user?
No. This only affects CI runner provisioning. End-user-visible
behavior of
aiohttpis unaffected.The Codecov flag derived from
steps.python-install.outputs.python-versionnow reports thematrix spec (
3.14t) rather than the resolved patch(
3.14.5t); coarser, but easier to group across patch releases.Is it a substantial burden for the maintainers to support this?
No.
astral-sh/setup-uvis widely used across aio-libs and thebroader Python ecosystem;
activate-environment: truereproducesthe behavior the existing pipeline already relies on, so the swap
is local to the action invocation.
This mirrors aio-libs/yarl#1704, which made the same swap.
Related issue number
N/A.
Checklist
CONTRIBUTORS.txt— already listedCHANGES/folder — to be added in a follow-up commit once the PR number is assignedAgent run details (optional, for reviewers)
actions/setup-pythondownloads non-cached interpreter variantsfrom its release index, which takes ~40s on macos-latest and ~58s
on windows-latest for
3.14t(the free-threaded build is not inthe hosted-tool-cache).
astral-sh/setup-uvpullspython-build-standalone from a CDN, which is a few seconds across
all three OSes. Motivation transferred from the yarl PR's own
measurements.
Drafted with Claude Code (Opus 4.7); reviewed by @bdraco.