astral-sh/uv 发布 0.12.15
uv 0.12.15 修复 0.12.14 拒绝合法安装命令的回归问题,并批量写入缓存以加速冷缓存解析与 HTTP 缓存校验。
中文处理结果
发布说明
发布于 2026-09-15。
本次发布修复了 0.12.14 中的一个回归问题,该问题会导致拒绝合法的安装命令,例如在 python:* Docker 镜像中使用 uv pip install --system,或使用 uv pip install --target . 时。(#21699)
性能
- 通过批量写入缓存,加速冷缓存解析与 HTTP 缓存重新校验 (#21675)
缺陷修复
- 回退“拒绝符号链接的 wheel 安装目标” (#21699)
安装 uv 0.12.15
通过 shell 脚本安装预构建二进制文件
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.15/uv-installer.sh | sh
通过 powershell 脚本安装预构建二进制文件
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.15/uv-installer.ps1 | iex"
下载 uv 0.12.15
原始正文
astral-sh/uv released 0.12.15
Release Notes
Released on 2026-09-15.
This release fixes a regression in 0.12.14 that lead to rejecting valid installation commands such as using
uv pip install --system in python:* docker images or when using uv pip install --target .. (#21699)
Performance
- Speed up cold-cache resolution and HTTP cache revalidation by batching cache writes (#21675)
Bug fixes
- Revert "Reject symlinked wheel installation destinations" (#21699)
Install uv 0.12.15
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.15/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.15/uv-installer.ps1 | iex"
Download uv 0.12.15
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>