python uv Releases · · 0.12.6

uv 0.12.6 Released with Performance Boosts and New Preview Features

sdkinfrapreviewengineer
patch

Astral's `uv` 0.12.6 is now available, bringing significant performance improvements across multiple platforms by enabling profile-guided optimizations. This release also introduces new preview features, including enhanced workspace metadata synchronization and improved hash generation for `pip compile` with binary constraints. Developers using `uv` for Python package management will benefit from increased speed and several bug fixes addressing issues like Git commit resolution and dependency handling for recursive extras. The update also upgrades CPython to use OpenSSL 3.5.8 and libffi 3.4.8.

  • Report cache-cleaning space savings from filesystem block allocation and avoid double-counting hard links
  • Limit warnings about unbounded uv_build requirements to source-distribution builds
  • Display byte counts below 1 KiB without a fractional part
  • Allow explicit uv build and non-editable first-party workspace packages when no-build is enabled
  • Reuse configured index credentials during uv tool upgrade when the tool receipt references the same index
Enhancements (3)
  • Report cache-cleaning space savings from filesystem block allocation and avoid double-counting hard links
  • Limit warnings about unbounded uv_build requirements to source-distribution builds
  • Display byte counts below 1 KiB without a fractional part
Fixes (11)
  • Allow explicit uv build and non-editable first-party workspace packages when no-build is enabled
  • Reuse configured index credentials during uv tool upgrade when the tool receipt references the same index
  • Ensure full 40-character Git commit pins resolve to the requested object instead of a SHA-named branch
  • Prevent TLS segfaults in riscv64 musl release binaries
  • Preserve dependencies selected by recursive extras when markers mix production and extra conditions
  • Preserve version constraints from transitively referenced recursive extras
  • Resolve repository-relative Git archive dependencies inside the checkout during the initial uv sync
  • Return an error instead of panicking when a bearer token cannot be encoded as an HTTP header
  • Do not misclassify package URLs ending in .py as local script paths
  • Use directory creation times consistently across libc implementations for directory cache-keys entries
  • Promote human-readable sizes to the next unit at rounding boundaries
Read the original announcement →

https://github.com/astral-sh/uv/releases/tag/0.12.6

Related releases