astral-sh/uv 发布 0.11.32
astral-sh/uv 发布 0.11.32,包含预览功能、性能优化和错误修复,并提供安装与下载说明。
中文处理结果
发布说明
发布于 2026-07-23。
预览功能
- 为
uv check添加--package和--all-packages选择(#20628) - 允许
uv upgrade更新同一包的多个 marker 特定声明(#20335) - 在
uv lock --check和使用--locked的命令中拒绝非规范格式的锁文件(#20646) - 使用
uv lock --refresh重新生成非规范格式的锁文件(#20634) - 默认在
uv workspace metadata中包含关于活动环境的最佳努力信息(#20643)
性能
- 在无法推断出额外冲突时,跳过依赖组冲突扩展(#20611)
错误修复
- 当仅从分发元数据中发现
Requires-Python时,派生通用解析(#20586)
安装 uv 0.11.32
通过 shell 脚本安装预构建二进制文件
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.11.32/uv-installer.sh | sh
通过 PowerShell 脚本安装预构建二进制文件
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.11.32/uv-installer.ps1 | iex"
下载 uv 0.11.32
原始正文
astral-sh/uv released 0.11.32
Release Notes
Released on 2026-07-23.
Preview features
- Add
--packageand--all-packagesselection touv check(#20628) - Allow
uv upgradeto update multiple marker-specific declarations of the same package (#20335) - Reject non-canonically formatted lockfiles in
uv lock --checkand commands using--locked(#20646) - Regenerate non-canonically formatted lockfiles with
uv lock --refresh(#20634) - Include best-effort information about the active environment in
uv workspace metadataby default (#20643)
Performance
- Skip dependency-group conflict expansion when no additional conflicts can be inferred (#20611)
Bug fixes
- Fork universal resolutions when
Requires-Pythonis discovered only from distribution metadata (#20586)
Install uv 0.11.32
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.11.32/uv-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://releases.astral.sh/github/uv/releases/download/0.11.32/uv-installer.ps1 | iex"
Download uv 0.11.32
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>