Skip to content

Comments

Enable the Python download cache in CI#14327

Draft
zanieb wants to merge 2 commits intomainfrom
zb/py-install-cache-ci
Draft

Enable the Python download cache in CI#14327
zanieb wants to merge 2 commits intomainfrom
zb/py-install-cache-ci

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Jun 27, 2025

Interestingly, this seems to provide no speed-up? The uv python install invocation does use the cached versions though, so I think this will achieve the goal of reducing network failures.

Follows #14326

@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Jun 27, 2025
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 19:31 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 19:32 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 21:05 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 21:05 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from 86282b3 to 30d68db Compare June 27, 2025 21:33
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 21:34 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 21:35 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from 30d68db to 5990106 Compare June 27, 2025 21:53
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 21:55 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 21:55 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 22:07 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 22:08 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from 5990106 to cd691dc Compare June 27, 2025 22:12
@zanieb zanieb temporarily deployed to uv-test-registries June 27, 2025 22:15 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish June 27, 2025 22:15 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache branch 2 times, most recently from ff3671b to 53c764c Compare July 18, 2025 13:07
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from cd691dc to 6a74bd8 Compare July 18, 2025 13:14
@zanieb zanieb temporarily deployed to uv-test-registries July 18, 2025 13:16 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish July 18, 2025 13:17 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-registries July 23, 2025 15:05 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish July 23, 2025 15:06 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache branch from 53c764c to 7287673 Compare July 28, 2025 17:05
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from 47a0a05 to a885915 Compare July 28, 2025 17:10
@zanieb zanieb temporarily deployed to uv-test-registries July 28, 2025 17:12 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish July 28, 2025 17:12 — with GitHub Actions Inactive
@zanieb zanieb force-pushed the zb/py-install-cache branch from 7287673 to 5b21dcb Compare July 28, 2025 17:21
Base automatically changed from zb/py-install-cache to main July 28, 2025 17:33
zanieb added a commit that referenced this pull request Jul 28, 2025
Adds a cache bucket for Python installs and uses it by default during
tests, extending the opt-in cache added in
#12175

Updates the `python_install` tests to use a shared cache for Python
installs. This reduces the `python_install` test runtime on my machine
from 23s -> 17s. The difference should be much larger on machines with
slower internet and less cores for test workers :) This should also
improve stability in CI by reducing reliance on the network during test
runs, see #14327
@zanieb zanieb force-pushed the zb/py-install-cache-ci branch from 263a29a to 5ef2a49 Compare July 28, 2025 17:40
@zanieb zanieb had a problem deploying to uv-test-registries July 28, 2025 17:42 — with GitHub Actions Failure
@zanieb zanieb temporarily deployed to uv-test-registries July 28, 2025 17:54 — with GitHub Actions Inactive
@zanieb zanieb temporarily deployed to uv-test-publish July 28, 2025 17:54 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant