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-Pythonupper bounds inuv pip checkanduv 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 upgradeto upgrade installed tools whentool-install-locksis enabled (#22498) - Add preliminary support for parsing PEP 825 variant labels in wheel filenames with
wheel-variants(#22039)
Performance
- Reduce uv's binary size (#22429, #22430, #22432)
- Speed up Simple API parsing (#22429)
- Reduce package metadata parsing overhead (#22239)
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 compileoruv exportoutput destinations (#22496) - Fix
sys._base_executabledetection 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 upgradeleaves 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
.netrcformat 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
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>