Skip to content

Separate Python upgrade and reinstall tests - #23007

Merged
charliermarsh merged 2 commits into
astral-sh:mainfrom
charliermarsh:codex/uv-ci-python-upgrade-fixture
Oct 30, 2026
Merged

charliermarsh merged 2 commits into
astral-sh:mainfrom
charliermarsh:codex/uv-ci-python-upgrade-fixture

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Summary

python_install_upgrade took 50.7 s, 60.4 s, and 61.2 s in three recent macOS CI runs. On this draft, its two scenarios finished within the same 39.4 s window, 35% below the baseline median. The upgrade test took 39.4 s and the reinstall test took 38.5 s. Draft macOS run · CI run 1 · CI run 2 · CI run 3

The original test ran the Python 3.10 --upgrade --reinstall scenario before continuing with ordinary upgrade requests. The reinstall case now has its own test. The ordinary upgrade case uses the default 3.15 installation it already created as one of its satisfied requests. Its mixed request still upgrades one outdated patch, installs one missing minor, and leaves two current minors alone.

We use 3.9.24 for the outdated patch. It still upgrades to 3.9.25, but its stripped Apple Silicon archive contains 49 MB of regular-file contents, down from 160 MB in the full 3.9.5 distribution. Both figures come from the archives named in uv’s download metadata, verified against their SHA-256 digests.

With the Python archives cached locally on Linux, the original test took a median of 27.1 s across three runs. Both new tests together took a median of 17.2 s. The full macOS nextest run on this draft took 232.1 s, within the 230.6–244.6 s range of the three baseline runs.

@charliermarsh charliermarsh added the test:macos Enable macOS tests for a pull request label Oct 30, 2026 — with ChatGPT Codex Connector
@charliermarsh
charliermarsh marked this pull request as ready for review October 30, 2026 15:06
@charliermarsh
charliermarsh merged commit 89e9a4b into astral-sh:main Oct 30, 2026
63 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:macos Enable macOS tests for a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants