Skip to content

Share Python archives between CI setup and tests - #22621

Merged
zanieb merged 2 commits into
mainfrom
zb/share-python-archive-cache-in-ci
Oct 15, 2026
Merged

zanieb merged 2 commits into
mainfrom
zb/share-python-archive-cache-in-ci

Conversation

@astral-automations-bot

@astral-automations-bot astral-automations-bot Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

CI installs required Python versions before running tests, but those downloads do not populate the archive cache used by TestContext. Set UV_PYTHON_CACHE_DIR for both phases and place the Windows archive cache on the configured test drive, so archives fetched during setup can be reused by tests.

Related: #14324, #20414, astral-sh#358, astral-sh#397, astral-sh#420, astral-sh#424, astral-sh#537, astral-sh#594, astral-sh#843, astral-sh#1359, astral-sh#1810, astral-sh#1833, astral-sh#2022, astral-sh#2049, astral-sh#2050, astral-sh#2327, astral-sh#2463, astral-sh#2487, astral-sh#2544, astral-sh#2604, astral-sh#2607, astral-sh#2608, astral-sh#2616, astral-sh#2713, astral-sh#2715, astral-sh#2729, astral-sh#2732, astral-sh#2733, astral-sh#2734, astral-sh#2736, astral-sh#2742, astral-sh#2745, astral-sh#2747, astral-sh#2748, astral-sh#2749, astral-sh#2757, astral-sh#2758, astral-sh#2762, astral-sh#2763, astral-sh#2764, astral-sh#2765, astral-sh#2769, astral-sh#2778.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:ci Related to continuous integration workflows and infrastructure labels Oct 15, 2026
@zanieb
zanieb enabled auto-merge (squash) October 15, 2026 21:28
@zanieb
zanieb merged commit c8e4086 into main Oct 15, 2026
61 checks passed
@zanieb
zanieb deleted the zb/share-python-archive-cache-in-ci branch October 15, 2026 21:36

This branch was previously deployed

1 inactive deployment
automations — 9dd661d0 Deployed Oct 15, 2026 by astral-automations-bot[bot] via review / security review #51254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:ci Related to continuous integration workflows and infrastructure internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants