astral-sh/uv 发布 0.12.23
uv 0.12.23 发布:新增 CPython 3.15.0rc3,预览功能支持无工作区清单时用 --frozen 从 uv.lock 同步、导出与查看依赖树,并修复两项问题。
中文处理结果
发布说明
发布于 2026-10-03。
Python
- 新增 CPython 3.15.0rc3(#22164)
预览功能
- 在没有工作区清单的情况下,使用
uv sync --frozen配合frozen-lockfile从uv.lock同步(#22018) - 在没有工作区清单的情况下,使用
uv export --frozen配合frozen-lockfile从uv.lock导出(#22007) - 在没有工作区清单的情况下,使用
uv tree --frozen配合frozen-lockfile从uv.lock查看依赖树(#22016) - 在没有工作区清单的情况下,使用
uv workspace metadata --frozen配合frozen-lockfile从uv.lock查看工作区元数据并可选地同步其环境(#22017、#22018)
问题修复
- 在相互冲突的依赖选择中拒绝工作区成员的替代源,避免生成无法安装的锁文件(#22153)
- 允许在 Windows ARM64 上以模拟方式运行的 x86-64 Python 解释器安装兼容的
win_amd64wheel,而不是从源码构建(#22099)
安装 uv 0.12.23
通过 shell 脚本安装预编译二进制文件
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.23/uv-installer.sh | sh
通过 powershell 脚本安装预编译二进制文件
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.23/uv-installer.ps1 | iex"
下载 uv 0.12.23
原始正文
astral-sh/uv released 0.12.23
Release Notes
Released on 2026-10-03.
Python
- Add CPython 3.15.0rc3 (#22164)
Preview features
- Sync from
uv.lockwithout a workspace manifest usinguv sync --frozenwithfrozen-lockfile(#22018) - Export from
uv.lockwithout a workspace manifest usinguv export --frozenwithfrozen-lockfile(#22007) - Inspect dependency trees from
uv.lockwithout a workspace manifest usinguv tree --frozenwithfrozen-lockfile(#22016) - Inspect workspace metadata and optionally sync its environment from
uv.lockwithout a workspace manifest usinguv workspace metadata --frozenwithfrozen-lockfile(#22017, #22018)
Bug fixes
- Reject alternate sources for workspace members across conflicting dependency selections, avoiding lockfiles that cannot be installed (#22153)
- Allow x86-64 Python interpreters running under emulation on Windows ARM64 to install compatible
win_amd64wheels instead of building from source (#22099)
Install uv 0.12.23
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.23/uv-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.23/uv-installer.ps1 | iex"
Download uv 0.12.23
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo astral-sh/uv
You can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>