Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for caching uv #818

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for caching uv #818

wants to merge 1 commit into from

Conversation

akx
Copy link
Contributor

@akx akx commented Feb 19, 2024

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.

@akx akx requested a review from a team as a code owner February 19, 2024 11:32
@akx

This comment was marked as outdated.

@e271828-
Copy link

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

This should be merged: uv is becoming quite popular.

@zanieb
Copy link

zanieb commented Apr 3, 2024

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

@AdamSchinzel
Copy link

So exited for this!

julien4215 pushed a commit to aeecleclair/Hyperion that referenced this pull request May 21, 2024
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).
@michelkluger
Copy link

@dmitry-shibanov , @konradpabjan , how can this PR be expedited? 😇

@barakugav
Copy link

Any update on this issue?

@akx
Copy link
Contributor Author

akx commented Oct 10, 2024

Rebased, rudimentary tests added.

@ssbarnea
Copy link

ssbarnea commented Oct 15, 2024

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?

@ericbn
Copy link

ericbn commented Oct 15, 2024

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

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.

8 participants