Vault 资讯瀑布官方2026.10.14 13:15 UTC+8

astral-sh/uv 发布 0.13.1

uv 0.13.1 发布:忽略 Requires-Python 上限、支持 Linux SPARC、新增 CPython 3.16.0a1,并带来性能与预览功能改进。

发布说明

发布于 2026-10-14。

增强

  • 在 uv pip check 和 uv pip install --strict 中忽略 Requires-Python 上限,与解析行为保持一致(#22500)
  • 支持 Linux SPARC:在文件系统克隆和详细缓存核算不可用时进行回退(#22463)
  • 在解析错误中报告缺失的受信任哈希(#22241)

Python

  • 新增 CPython 3.16.0a1(#22527)

预览功能

  • 在启用 tool-install-locks 时,允许 uv tool upgrade 升级已安装的工具(#22498)
  • 在 wheel-variants 下初步支持解析 wheel 文件名中的 PEP 825 变体标签(#22039)

性能

缺陷修复

astral-sh/uv released 0.13.1

Release Notes

Released on 2026-10-14.

Enhancements

  • Ignore Requires-Python upper bounds in uv pip check and uv pip install --strict, consistent with resolution (#22500)
  • Support Linux SPARC by falling back when filesystem cloning and detailed cache accounting are unavailable (#22463)
  • Report missing trusted hashes in resolution errors (#22241)

Python

  • Add CPython 3.16.0a1 (#22527)

Preview features

  • Allow uv tool upgrade to upgrade installed tools when tool-install-locks is enabled (#22498)
  • Add preliminary support for parsing PEP 825 variant labels in wheel filenames with wheel-variants (#22039)

Performance

Bug fixes

  • Prevent tool and managed Python uninstalls from deleting unrelated files beside their storage directories (#22495)
  • Restore support for source distributions containing hard links or full-length tar user or group names (#22516, #22522)
  • Preserve device files and FIFOs used as uv pip compile or uv export output destinations (#22496)
  • Fix sys._base_executable detection for environments created from symlinked interpreters (#22520)
  • Prevent concurrent readers from observing partially written lockfiles, Python version files, or managed Python sysconfig files (#22399, #22402, #22403)
  • Serialize concurrent project commands that reach the same environment through real and symlinked paths (#22390)
  • Prevent installs, syncs, and environment creation from failing when they race with uv cache clean (#22387)
  • Prevent concurrent tool installations from corrupting an environment when the last tool is uninstalled (#22391)
  • Persist changed upgrade settings even when uv tool upgrade leaves the tool version unchanged (#22499)
  • Reuse environments with installed Git dependencies pinned to full commit hashes without resolving again (#22464)

Documentation

  • Explain how to select an emulated Python interpreter on Windows ARM64 when native wheels are unavailable (#22424)
  • Fix the .netrc format documentation link (#22514)

Other changes

  • Publish Python 3.15-based uv Docker images under stable tags (#22503)

Install uv 0.13.1

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.13.1/uv-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.13.1/uv-installer.ps1 | iex"

Download uv 0.13.1

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>
查看原始发布