UV自动更新 - 未找到版本

编程语言 2026-07-10
$ which uv
/home/mortenbj/.local/bin/uv
$ /home/mortenbj/.local/bin/uv --version
uv 0.11.4 (x86_64-unknown-linux-gnu)
$ uv self update
info: Checking for updates...
error: The version 0.11.5 was not found for the app uv in workspace uv

追踪记录

TRACE Handling request for https://releases.astral.sh/github/versions/main/v1/uv.ndjson with authentication policy auto
TRACE Request for https://releases.astral.sh/github/versions/main/v1/uv.ndjson is unauthenticated, checking cache
TRACE No credentials in cache for URL https://releases.astral.sh/github/versions/main/v1/uv.ndjson
TRACE Attempting unauthenticated request for https://releases.astral.sh/github/versions/main/v1/uv.ndjson
DEBUG Resolved self-update target to `uv==0.11.5`
TRACE Error trace: The version 0.11.5 was not found for the app uv in workspace uv

我很可能早些时候就把版本更新到了v0.11.5。

解决方案

不知道到底是什么问题,但我重启了一下,随后就好了。 如果能有任何错误提示,例如显示无法到达标签之类的,那就更好了。

DEBUG Resolved self-update target to `uv==0.11.5`
success: Upgraded uv from v0.11.4 to v0.11.5! https://github.com/astral-sh/uv/releases/tag/0.11.5
站内所有文章版权归属LeftHeroAI导航站,无授权禁止任何主体转载、抄袭、复制内容,亦不得私自架设镜像站点。一经侵权,本站将通过法律途径追责。

相关文章