-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Description
Hey there! I'm suggesting we add caching support for the uv package manager in setup-python. uv
(uv pip
command currently) is a drop-in replace for pip
, using requirements.txt
or any other input file that pip supports for dependencies definitions. The only difference is its cache directory: setup-python
uses the output of pip cache dir
to find the cache directory, but uv
uses uv cache dir
instead (see astral-sh/uv#1734). It should be a straightforward addition that could help projects using uv
.
Justification
uv is 10-100x faster than pip. There is a lot of interest from the community to use this new tool in CI environments (e.g astral-sh/uv#1386)
Are you willing to submit a PR?
Yep! Happy to help out and get my hands dirty with a PR to make this happen. However, I'm far of being a Typescript expert.