GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add support for caching `uv` by akx · Pull Request #818 · actions/setup-python

Conversation

@akx

@akx akx commented Feb 19, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Description

This PR adds support for cache: uv, for the new uv package manager.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mscheifer, staffanf, and mblokker reacted with thumbs up emoji robbiemccorkell, hsheth2, acostapazo, darwing1210, diraven, sk1p, hkad98, jonasanso, haarisr, ericbn, and 77 more reacted with rocket emoji
All reactions
  • 👍 3 reactions
  • 🚀 87 reactions
@akx
akx requested a review from a team as a code owner February 19, 2024 11:32
@akx

This comment was marked as outdated.

Sign in to view
@akx
akx force-pushed the uv-cache branch 2 times, most recently from 0c8c22e to 89052ad Compare February 19, 2024 11:34
@akx akx mentioned this pull request Feb 19, 2024
Add pip cache dir astral-sh/uv#1646
Closed
@andrei-aksionau andrei-aksionau mentioned this pull request Mar 5, 2024
CI: replace pip with uv by Astral.sh Lightning-AI/litgpt#952
Merged
@akx akx mentioned this pull request Mar 27, 2024
Support for uv Package Manager Caching #822
Closed
@e271828-

e271828- commented Mar 27, 2024

Copy link
Copy Markdown

CC @HarithaVattikuti / @aparnajyothi-y / @priya-kinthali

This should be merged: uv is becoming quite popular.

haarisr, lukasklein, elliexcoding, proever, Moshe-Cogntiv, ThiefMaster, blueraft, adamzr, li-dennis, kylerush, and 17 more reacted with thumbs up emoji
All reactions
  • 👍 27 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@zanieb

zanieb commented Apr 3, 2024

Copy link
Copy Markdown

Please let me know if there's anything you need from the Astral team.

haarisr, mrchi, markbenepass, agriyakhetarpal, shapiromatron, inoa-jboliveira, quiver, and mlvhub reacted with thumbs up emoji akx, jasonprado, markbenepass, agriyakhetarpal, and JonZeolla reacted with heart emoji
All reactions
  • 👍 8 reactions
  • ❤️ 5 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@abey79 abey79 mentioned this pull request Apr 10, 2024
Improve python dependency management for our examples rerun-io/rerun#5862
Closed
@Viicos Viicos mentioned this pull request Apr 12, 2024
Replace pip usage with uv pip maykinmedia/setup-django-backend#3
Merged
@AdamSchinzel

AdamSchinzel commented Apr 12, 2024

Copy link
Copy Markdown

So exited for this!

albertotb, markbenepass, agriyakhetarpal, SupImDos, polothy, barakugav, danielfrg, palewire, DanielAvdar, and nmichlo reacted with rocket emoji
All reactions
  • 🚀 10 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@edgarrmondragon edgarrmondragon mentioned this pull request Apr 17, 2024
ci: Use uv in CI meltano/sdk#2377
Merged
@AtomHare AtomHare mentioned this pull request May 16, 2024
enhancement: Use uv instead of pip during ci tests aeecleclair/Hyperion#440
Merged
@nijel nijel mentioned this pull request May 21, 2024
ci: use uv to install packages WeblateOrg/weblate#11679
Merged
5 tasks
julien4215 pushed a commit to aeecleclair/Hyperion that referenced this pull request May 21, 2024
@AtomHare
enhancement: Use uv instead of pip during ci tests (#440)
0175965
This PR makes the Hyperion repo use `uv` during ci tests. `uv` is a
replacement for `pip` written in rust.
Ideally, ci tests should now be quicker ! No expected breakage from this
PR since we don't use special pip functionalities (see
https://astral.sh/blog/uv)

We'll use the official setup python gh action with uv when it will be
merged or implemented (see
actions/setup-python#818).
@agriyakhetarpal agriyakhetarpal mentioned this pull request Jun 13, 2024
Added tests for template generation pybamm-team/pybamm-cookie#9
Merged
@JP-Ellis JP-Ellis mentioned this pull request Jun 24, 2024
Enable caching of uv pact-foundation/pact-python#716
Closed
2 of 3 tasks
@barakugav

barakugav commented Aug 6, 2024

Copy link
Copy Markdown

Any update on this issue?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@flodolo flodolo mentioned this pull request Sep 11, 2024
Replace pip and pip-tools with uv, update ruff mozilla/pontoon#3324
Closed
@DarkaMaul DarkaMaul mentioned this pull request Sep 25, 2024
Fix workflow setup-python trailofbits/cookiecutter-python#32
Merged
@akx
akx force-pushed the uv-cache branch from 89052ad to bd906b0 Compare October 10, 2024 06:03
@akx

akx commented Oct 10, 2024

Copy link
Copy Markdown
Contributor Author

Rebased, rudimentary tests added.

MartyP233 reacted with thumbs up emoji Xirider reacted with hooray emoji ssbarnea reacted with heart emoji
All reactions
  • 👍 1 reaction
  • 🎉 1 reaction
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@akx
Add support for caching uv
d9e42e5
See https://github.com/astral-sh/uv
@akx
akx force-pushed the uv-cache branch from bd906b0 to d9e42e5 Compare October 10, 2024 06:04
@ssbarnea

ssbarnea commented Oct 15, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

I hope this really gets attention from one of the maintainers. The fact that CI pipelines are not even running without approval seems bit hostile to me. Let's hope is not by design...

Maybe @Jcambass or @HarithaVattikuti can give us a hand here?

polothy and bretello reacted with thumbs down emoji
All reactions
  • 👎 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ericbn

ericbn commented Oct 15, 2024

Copy link
Copy Markdown

FYI https://github.com/astral-sh/setup-uv is a GitHub Action developed as a drop-in replacement for actions/setup-python, having currently the following features:

  • Install a version of uv and add it to PATH
  • Cache the installed version of uv to speed up consecutive runs on self-hosted runners
  • Register problem matchers for error output
  • (Optional) Persist the uv's cache in the GitHub Actions Cache
  • (Optional) Verify the checksum of the downloaded uv executable
polothy, dbirks, quiver, enigma, gullit-cw, goodspark, symnatbay, and nils-werner reacted with hooray emoji
All reactions
  • 🎉 8 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ThiefMaster

ThiefMaster commented Jul 19, 2025

Copy link
Copy Markdown

FYI I talked to someone from GitHub at EuroPython and she said she'll try go ping the right people. No guarantees that it'll help but maybe we get lucky.

PS: Rebasing the PR so there are no conflicts might be a good idea, just in case it does get maintainer attention.

strickvl, SupImDos, quiver, hanikesn, and js-schell reacted with heart emoji
All reactions
  • ❤️ 5 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

f213 added a commit to tough-dev-school/education-backend that referenced this pull request Aug 30, 2025
@f213
refs actions/setup-python#818 -- updated CI to work with uv
43fe4b6
f213 added a commit to tough-dev-school/education-backend that referenced this pull request Aug 30, 2025
@f213
refs actions/setup-python#818 -- updated CI to work with uv
623a65d
@dhvcc dhvcc mentioned this pull request Nov 19, 2025
Sync with upstream & set uvLockHash to a value removing TODO akx/setup-python#1
Closed
@timonrieger timonrieger mentioned this pull request Jan 7, 2026
chore: use setup-uv action to install python immich-app/immich#25109
Merged
@v-priya-kinthali

v-priya-kinthali commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Hi @akx 👋, thank you for this contribution and thanks to everyone in the thread for your patience and interest.
After discussing internally, we've decided not to move forward with native cache: uv support in setup-python at this time.

As a workaround, if it's helpful, you can cache uv's cache directory using actions/cache, keyed on your lockfile:

- uses: actions/cache@v6
  with:
    path: ~/.cache/uv
    key: ${{ runner.os }}-uv-${{ hashFiles('**/uv.lock') }}
    restore-keys: |
      ${{ runner.os }}-uv-

We really appreciate the effort behind this PR and the community's engagement. While we won't be merging it now, it's something we're open to revisiting in the future. Thanks again for your understanding!

hanikesn reacted with confused emoji
All reactions
  • 😕 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hkad98 hkad98 mentioned this pull request Aug 17, 2026
build: bump uv to 0.12 and enable uv cache for staging tests gooddata/gooddata-python-sdk#1739
Merged

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@akx @e271828- @zanieb @AdamSchinzel @barakugav @ssbarnea @ericbn @ThiefMaster @v-priya-kinthali
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.