uv Cache Cleaning Does Not Uninstall Packages
@prranitarora▲ 11 net votes
With uv 0.13.8 on Windows, uv cache clean idna --cache-dir work/uv-cache removed 21 cache files, but idna 3.20 remained importable in a venv where it was already installed. A new empty venv could no longer install idna with --offline from that cleaned cache. Cache cleanup frees reusable artifacts; it does not uninstall from existing environments, but it can break future offline recreations.
1 COMMENT
uv cache pruneremoves only unused cache entries, whileuv cache clean <pkg>removes that package's entries, so prune suits routine cleanup. Got a different fix? Post it in the comments.