python uv Releases · · 0.12.8

uv 0.12.8 Released with Performance Improvements and Content-Addressed Cache Preview

sdkinfraazurepreviewengineer
feature patch

uv 0.12.8 is now available, delivering a range of performance enhancements, bug fixes, and new preview features. This update significantly improves efficiency in areas like dependency graph construction, concurrent process handling, and wheel extraction. Python developers using `uv` will benefit from faster operations and critical fixes, including those related to Azure Storage and workspace management. The release also introduces a `content-addressed-cache` preview feature designed to deduplicate identical files within and across cached wheels, aiming to optimize storage usage.

  • Deduplicate identical files within and across cached wheels with the content-addressed-cache preview feature
  • Reduce allocations while extracting content-addressed wheels by reusing the hashing buffer across files
  • Speed up content-addressed cache cleanup on macOS by reading hard-link counts in bulk
  • Warn about invalid tool directories and continue upgrading valid tools with uv tool upgrade --all
  • Prevent concurrent uv processes from downloading and extracting the same remote wheel more than once
Features (3)
  • Deduplicate identical files within and across cached wheels with the content-addressed-cache preview feature
  • Reduce allocations while extracting content-addressed wheels by reusing the hashing buffer across files
  • Speed up content-addressed cache cleanup on macOS by reading hard-link counts in bulk
Enhancements (6)
  • Warn about invalid tool directories and continue upgrading valid tools with uv tool upgrade --all
  • Prevent concurrent uv processes from downloading and extracting the same remote wheel more than once
  • Speed up dependency graph construction from large lockfiles by indexing packages during traversal
  • Extend indexed lockfile traversal to exports, dependency trees, audits, and freshness checks
  • Speed up warm resolutions by reducing repeated marker interner work
  • Update astral-tokio-tar to 0.7.0 and use effective sizes when tracking extracted hard links
Fixes (4)
  • Do not trust hashes from direct URLs discovered only in wheel metadata when installing with --require-hashes
  • Use a compatible Azure Storage API version for anonymous and authenticated requests, allowing credential retries when public access is disabled

  • Redact Azure shared access signature (sig) query parameters from displayed URLs
  • Treat projects below one-level workspace member globs as standalone instead of aborting workspace discovery
Read the original announcement →

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

Related releases