uv 0.13.2

0.13.2
Added 5
  • Report all installed packages in `uv workspace metadata`, including packages outside the selected resolution
  • Include supported environment restrictions when exporting `pylock.toml`
  • Retry dropped GET and HEAD requests when fetching package and index data
  • Add PyPy 3.11.17 and 3.12.15
  • Fetch and parse PEP 825 index-level variant metadata with `wheel-variants` (preview)
Changed 15
  • Preserve encoding declarations in wheel data scripts that require shell launchers
  • Show causes and hints when `uv python find --script` cannot discover an interpreter, including with `-q`
  • Print valid ksh activation instructions and support non-relocatable environments under OpenBSD-derived ksh
  • Allow PEP 508 direct URLs, including Mercurial and extensionless archive URLs, in uv-build's `[build-system].requires` validation
  • Report all installed packages in `uv workspace metadata`, including packages outside the selected resolution
  • Avoid exponential work when simplifying, traversing, and exporting complex dependency markers
Fixed 12
  • Respect `--exclude-newer` when a newer wheel for the selected source distribution is already cached
  • Prevent URL credentials from leaking through diagnostics or persisted metadata
  • Keep separate cache entries for signed `--find-links` URLs that differ only in sensitive query values
  • Honor PEP 751 environment restrictions when installing or syncing from `pylock.toml`
  • Use configured credentials before prompting during `uv publish`, and avoid prompting when no upload occurs
  • Match recursive build globs against complete file paths and ignore invalid license symlinks

From uv

Release Notes

Released on 2026-10-19.

Enhancements
  • Report all installed packages in uv workspace metadata, including packages outside the selected resolution (#22395)
  • Include supported environment restrictions when exporting pylock.toml (#22596)
  • Retry dropped GET and HEAD requests when fetching package and index data (#22672)
  • Preserve encoding declarations in wheel data scripts that require shell launchers (#22526)
  • Show causes and hints when uv python find --script cannot discover an interpreter, including with -q (#22549)
  • Print valid ksh activation instructions and support non-relocatable environments under OpenBSD-derived ksh (#22538, #22572)
  • Allow PEP 508 direct URLs, including Mercurial and extensionless archive URLs, in uv-build's [build-system].requires validation (#22577)
Python
  • Add PyPy 3.11.17 and 3.12.15 (#22578)
Preview features
  • Fetch and parse PEP 825 index-level variant metadata with wheel-variants (#22509, #22511)
Performance
  • Avoid exponential work when simplifying, traversing, and exporting complex dependency markers (#22608, #22615, #22651, #22674)
  • Reduce the time and memory used to parse and store complex dependency markers (#22675, #22676, #22681)
  • Reduce resolver memory use for large dependency graphs, forks, extras, and dependency groups (#22565, #22625)
  • Speed up project discovery in large workspaces by caching member names (#22635)
  • Reduce uv's binary size and speed up CycloneDX exports (#22431)
  • Reduce uv-build binary size, including Linux x86_64 wheels (#22539, #22573)
  • Reduce allocations when parsing TOML (#22679)
Bug fixes
  • Respect --exclude-newer when a newer wheel for the selected source distribution is already cached (#22685)
  • Prevent URL credentials from leaking through diagnostics or persisted metadata (#22600, #22601, #22617, #22622, #22646)
  • Keep separate cache entries for signed --find-links URLs that differ only in sensitive query values (#22630)
  • Honor PEP 751 environment restrictions when installing or syncing from pylock.toml (#22594)
  • Use configured credentials before prompting during uv publish, and avoid prompting when no upload occurs (#22593)
  • Match recursive build globs against complete file paths and ignore invalid license symlinks (#22581, #22583)
  • Return an error for invalid uv pip compile --python-version values instead of panicking (#22727)
  • Reject invalid pylock.toml output filenames before resolution instead of panicking (#22725)
  • Avoid panicking during repeated resolution conflicts involving fixed-priority packages (#22589)
  • Create version aliases correctly when installing managed Python into a relative directory (#22547)
  • Show incompatibilities from failing uv pip check invocations with -q (#22544)
  • Treat logically equivalent dependency markers as equal regardless of construction order (#22680)
Rust API
  • Require the opt-in unsafe-url feature to use raw url::Url APIs in uv-pep508 (#22623)
Documentation
  • Clarify credential lookup, environment synchronization, managed Python, and integration guidance (#22542)
Other changes
  • Use stable sh.astral.* signing identifiers for macOS binaries (#22648)
Install uv 0.13.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://releases.astral.sh/github/uv/releases/download/0.13.2/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.2/uv-installer.ps1 | iex"
Download uv 0.13.2
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>
View original

Upgraded? How did it go?

Discussion