Repository navigation
Separate Python upgrade and reinstall tests - #23007
Merged
charliermarsh merged 2 commits intoOct 30, 2026
Merged
charliermarsh merged 2 commits into
charliermarsh merged 2 commits into
Conversation
charliermarsh
marked this pull request as ready for review
October 30, 2026 15:06
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.
Summary
python_install_upgradetook 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 3The original test ran the Python 3.10
--upgrade --reinstallscenario 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.