Vault 资讯瀑布官方2026.09.11 03:27 UTC+8

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

Enhancements

  • Verify hashes when downloading PEP 658 metadata sidecars (#21563)

Preview features

  • Respect ty exclusions when uv check automatically 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-metadata over 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

FilePlatformChecksum
uv-aarch64-apple-darwin.tar.gzApple Silicon macOSchecksum
uv-x86_64-apple-darwin.tar.gzIntel macOSchecksum
uv-aarch64-pc-windows-msvc.zipARM64 Windowschecksum
uv-i686-pc-windows-msvc.zipx86 Windowschecksum
uv-x86_64-pc-windows-msvc.zipx64 Windowschecksum
uv-aarch64-unknown-linux-gnu.tar.gzARM64 Linuxchecksum
uv-i686-unknown-linux-gnu.tar.gzx86 Linuxchecksum
uv-powerpc64le-unknown-linux-gnu.tar.gzPPC64LE Linuxchecksum
uv-riscv64gc-unknown-linux-gnu.tar.gzRISCV Linuxchecksum
uv-s390x-unknown-linux-gnu.tar.gzS390x Linuxchecksum
uv-x86_64-unknown-linux-gnu.tar.gzx64 Linuxchecksum
uv-armv7-unknown-linux-gnueabihf.tar.gzARMv7 Linuxchecksum
uv-aarch64-unknown-linux-musl.tar.gzARM64 MUSL Linuxchecksum
uv-i686-unknown-linux-musl.tar.gzx86 MUSL Linuxchecksum
uv-riscv64gc-unknown-linux-musl.tar.gzRISCV MUSL Linuxchecksum
uv-x86_64-unknown-linux-musl.tar.gzx64 MUSL Linuxchecksum
uv-arm-unknown-linux-musleabihf.tar.gzARMv6 MUSL Linux (Hardfloat)checksum
uv-armv7-unknown-linux-musleabihf.tar.gzARMv7 MUSL Linuxchecksum

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>
查看原始发布
astral-sh/uv 发布 0.12.13 — Vault2077