Skip to content

Switch to pure uv, no setup-python in CI - #33

Merged
nolar merged 1 commit into
mainfrom
pure-uv-no-setup-python
Oct 3, 2026
Merged

nolar merged 1 commit into
mainfrom
pure-uv-no-setup-python

Conversation

@nolar

@nolar nolar commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

An experiment to see if the pure uv is sufficient for CI or not, and if it is faster or not — relative to actions/setup-python from GHA.

Conclusions:

Not much faster:

  • 19-20s for setup-python.
  • 22-23s for setup-uv with no cache yet.
  • 17-20s for setup-uv with cache hit.

Works for all supported Pythons. It event has the free-threaded 3.15rc2, which is absent in setup-python (3.15rc2 is there though).

Good enough for the sake of simplicity. This repo does not use the distro's python or dependencies in any way, it is pure-python, so this should work. Since uv is used for virtualenvs & dependencies anyway, it makes sense to delegate python management to uv, too — despite no obvious benefits.

Signed-off-by: Sergey Vasilyev <nolar@nolar.info>
@nolar
nolar force-pushed the pure-uv-no-setup-python branch 2 times, most recently from 398fc6d to 0681cc2 Compare October 3, 2026 14:09
@nolar
nolar merged commit 40694fc into main Oct 3, 2026
11 checks passed
@nolar
nolar deleted the pure-uv-no-setup-python branch October 3, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant