python uv Releases · · 0.12.17

uv 0.12.17 Released with New Preview Features and Performance Boosts

sdkinfrapreviewengineer
feature patch

Astral's uv 0.12.17 patch release introduces several enhancements, preview features, and performance improvements for the Python package installer and resolver. Key updates include the ability to specify minimum glibc and musl versions for universal resolutions in preview, along with stricter validation for `pylock.toml` files. Performance optimizations speed up builds with many exclusion patterns and reduce resolver allocations, while a critical bug fix prevents macOS version mismatches.

  • Set minimum glibc and musl versions that universal resolutions must support with minimum-libc-version
  • Reject pylock.toml files whose wheel filenames do not match their declared package names or versions
  • Keep uv workspace metadata read-only unless --sync is provided
  • Apply uv check lock modes when retrieving workspace metadata
  • Reject unsupported Git archive paths in lockfiles with a clear error instead of panicking during frozen exports
Features (4)
  • Set minimum glibc and musl versions that universal resolutions must support with minimum-libc-version
  • Reject pylock.toml files whose wheel filenames do not match their declared package names or versions
  • Keep uv workspace metadata read-only unless --sync is provided
  • Apply uv check lock modes when retrieving workspace metadata
Enhancements (3)
  • Reject unsupported Git archive paths in lockfiles with a clear error instead of panicking during frozen exports
  • Speed up builds with many exclusion patterns by avoiding quadratic deduplication
  • Reduce resolver allocations when deduplicating package and distribution requests
Fixes (1)
  • Prevent required-environments from selecting package versions whose wheels require a newer macOS version than the configured Darwin baseline
Maintenance (1)
  • Clarify the 0.12.14 and 0.12.15 release notes
Read the original announcement →

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

Related releases