IssueRaiser

uv cache size limit

Unless I missed it, I think currently there is no way to limit the cache size. I think this would be valuable in ci self-hosted runners where the cache can grow pretty big due to the need to support many python versions packages downloads, we have seen it growing up to ~40GB. E.g. sccache has a [`SCCACHE_CACHE_SIZE`](https://github.com/mozilla/sccache/blob/0e6656243102299844cf344136b5e76f42a5a8ab/docs/Configuration.md#disk-local) that sets a maximum size of the cache. At the moment, if it grows to big you run `uv cache clean` and start over the game again, but with a cache size limit one wouldn't have to worry. What do you think? PS.: thanks for making pip installs great again

Posted by FrancescElies on Aug 2, 2024, 4:53 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

support (Software)

uv cache size limit

FrancescEliesAug 2, 2024, 4:53 PM

Unless I missed it, I think currently there is no way to limit the cache size. I think this would be valuable in ci self-hosted runners where the cache can grow pretty big due to the need to support many python versions packages downloads, we have seen it growing up to ~40GB. E.g. sccache has a [`SCCACHE_CACHE_SIZE`](https://github.com/mozilla/sccache/blob/0e6656243102299844cf344136b5e76f42a5a8ab/docs/Configuration.md#disk-local) that sets a maximum size of the cache. At the moment, if it grows to big you run `uv cache clean` and start over the game again, but with a cache size limit one wouldn't have to worry. What do you think? PS.: thanks for making pip installs great again

Comments (0)

No comments yet. Start the discussion.

Comment on this issue