You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected result:
After pruning cache size will be the same as after the first installation.
Actual result: uv cache prune doesn't delete anything, cache size stays the same as after the second installation.
uv version 0.5.10, fedora linux.
The text was updated successfully, but these errors were encountered:
neckbosov
changed the title
uv cache prune doesn't remove packages from cache for deleted environmentsuv cache prune doesn't remove packages from cache for deleted environments
Dec 26, 2024
Ah, that's not the purpose of uv cache prune. We can't track "which packages are used in which environments". uv cache prune is intended to remove items that are internally unreachable from the cache (e.g., if we built a newer version of a source distribution, we can remove the older versions).
Steps to reproduce:
Expected result:
After pruning cache size will be the same as after the first installation.
Actual result:
uv cache prune
doesn't delete anything, cache size stays the same as after the second installation.uv version 0.5.10, fedora linux.
The text was updated successfully, but these errors were encountered: