astral-sh/uv 发布 0.12.13
uv 0.12.13 发布:新增 GraalPy 3.13.0,校验 PEP 658 元数据哈希,优化解析性能并修复多项缺陷。
中文处理结果
发布说明
发布于 2026-09-10。
Python
- 新增 GraalPy 3.13.0(#21431)
增强
- 下载 PEP 658 元数据 sidecar 时校验哈希(#21563)
预览功能
- 当
uv check自动选择虚拟工作区成员时,遵循ty排除项(#21555)
性能
- 当元数据可单独获取时,通过复用直接 URL 片段中受支持的哈希,避免在解析期间完整下载 wheel(#21279)
缺陷修复
- 在内存中编辑 Windows 入口点启动器资源,以支持 Nano Server 并减少杀毒软件争用(#18713)
- 在 JSON 索引响应中优先使用
core-metadata而非旧版别名(#21563)
安装 uv 0.12.13
通过 shell 脚本安装预构建二进制文件
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.13/uv-installer.sh | sh
通过 powershell 脚本安装预构建二进制文件
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.12.13/uv-installer.ps1 | iex"
下载 uv 0.12.13
原始正文
astral-sh/uv released 0.12.13
Release Notes
Released on 2026-09-10.
Python
- Add GraalPy 3.13.0 (#21431)
Enhancements
- Verify hashes when downloading PEP 658 metadata sidecars (#21563)
Preview features
- Respect
tyexclusions whenuv checkautomatically selects members of a virtual workspace (#21555)
Performance
- Avoid full wheel downloads during resolution by reusing supported hashes from direct URL fragments when metadata is available separately (#21279)
Bug fixes
- Edit Windows entry-point launcher resources in memory to support Nano Server and reduce antivirus contention (#18713)
- Prefer
core-metadataover legacy aliases in JSON index responses (#21563)
Install uv 0.12.13
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.12.13/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.13/uv-installer.ps1 | iex"
Download uv 0.12.13
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>