cacheenhancementhelp wantedneeds-design
Description
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 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