-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uv cache prune
causes self update to fail
#6417
Comments
Ohh, thanks. That's interesting. |
Did you move the cache at all? I think the cache by default is at |
No, nothing was configured. Just tested a fresh install on another Windows 11 machine and the cache directory defaults to >powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Downloading uv 0.3.1 (x86_64-pc-windows-msvc)
Installing to C:\Users\Admin\.cargo\bin
uv.exe
uvx.exe
everything's installed!
>uv cache dir -v
DEBUG uv 0.3.1
C:\Users\Admin\AppData\Local\uv |
Ahh sorry, I think the cache directory changed slightly in v0.3.0. |
(But in a backwards-compatible way, so my machine was still using the previous location.) |
As a temporary workaround, manually moving all the files (except |
Yeah, that makes sense. Will fix though. |
On Windows, running
uv cache prune
removesuv-receipt.json
from the cache, which leads touv
being unable to self update:The text was updated successfully, but these errors were encountered: