python uv Releases · · 0.12.10

uv 0.12.10 Released with Enhancements and Preview Features

sdkpreviewengineer
feature patch

Astral's `uv` 0.12.10 patch release is now available, bringing various enhancements, performance improvements, and bug fixes. Key updates include attempting to revoke short-lived PyPI trusted publishing tokens and significant speedups for locking large workspaces and the `uv publish` command. The release also introduces preview features like omitting `exclude-newer-package` settings for out-of-resolution packages and showing terminal dependency cycles in `uv tree --invert` output. These changes improve security, efficiency, and developer experience for Python package management.

  • Show terminal dependency cycles in uv tree --invert output
  • Attempt to revoke short-lived PyPI trusted-publishing tokens after uv publish completes, including when publishing fails
  • Speed up locking large workspaces with conflicts by excluding unrelated extras and dependency groups from conflict simplification
  • Speed up uv publish by hashing each artifact in a single blocking task and reusing the buffer across reads
  • Prevent --locked from failing when exclude-newer-package settings differ only for packages outside the resolution
Features (2)
  • Omit exclude-newer-package settings for packages outside the resolution from uv.lock with the missing-exclude-newer-package-lock preview feature

  • Show terminal dependency cycles in uv tree --invert output
Enhancements (3)
  • Attempt to revoke short-lived PyPI trusted-publishing tokens after uv publish completes, including when publishing fails
  • Speed up locking large workspaces with conflicts by excluding unrelated extras and dependency groups from conflict simplification
  • Speed up uv publish by hashing each artifact in a single blocking task and reusing the buffer across reads
Fixes (5)
  • Prevent --locked from failing when exclude-newer-package settings differ only for packages outside the resolution
  • Allow uv lock --check to reuse a lockfile when an absolute exclude-newer cutoff is moved later
  • Allow uv lock --check to reuse a lockfile when a package-specific exclude-newer cutoff is disabled
  • Require an explicit --name when uv init would infer a project name reserved for a Python interpreter
  • Write package-specific exclude-newer cutoffs to uv.lock in a deterministic order
Read the original announcement →

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

Related releases