Vault 资讯瀑布官方2026.10.04 01:34 UTC+8

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_amd64 wheel,而不是从源码构建(#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.lock without a workspace manifest using uv sync --frozen with frozen-lockfile (#22018)
  • Export from uv.lock without a workspace manifest using uv export --frozen with frozen-lockfile (#22007)
  • Inspect dependency trees from uv.lock without a workspace manifest using uv tree --frozen with frozen-lockfile (#22016)
  • Inspect workspace metadata and optionally sync its environment from uv.lock without a workspace manifest using uv workspace metadata --frozen with frozen-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_amd64 wheels 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

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.23 — Vault2077