Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know if uv garbage collects its cache, but it wouldn't surprise me. Otherwise disk usage would grow indefinitely.


Yes, disk usage grows indefinitely

https://github.com/astral-sh/uv/issues/5731


If you indefinitely grow the collection of packages that you have in use in permanent virtual environments, then yes your disk usage will and should grow indefinitely anyway.

There's not much point recycling contents from a package cache unless you currently don't have a venv using that package and also don't reasonably expect to have one in the near future.

And I'm saying this as the guy complaining all the time about things like the size of Numpy wheels.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: