python uv Releases · · 0.12.4

Astral's uv 0.12.4 Improves Performance and Adds Preview Features

sdkpreviewengineer
patch

Astral has released uv 0.12.4, introducing significant performance enhancements in resolution and API parsing, alongside new preview features for its Python package installer. This update includes a `uv check --no-install-project` option and improved subprocess color/progress handling. The release also addresses several bug fixes related to virtual environment management, lock file integrity, and error reporting, enhancing the reliability of Python dependency management. These changes are now available for all users to improve efficiency and stability in Python development workflows.

  • Prefer post-quantum key exchange and enable opt-in TLS diagnostics
  • Accept whitespace before versions in noncompliant wildcard comparisons such as Requires-Python: >= 3.5
  • Report a specific error when a PEP 723 closing tag contains trailing whitespace or other content
  • Omit source-span carets from diagnostics for empty PEP 508 requirements
  • Use windowed pythonw.exe launchers for virtual environments created from managed Python minor-version links
Enhancements (4)
  • Prefer post-quantum key exchange and enable opt-in TLS diagnostics
  • Accept whitespace before versions in noncompliant wildcard comparisons such as Requires-Python: >= 3.5
  • Report a specific error when a PEP 723 closing tag contains trailing whitespace or other content
  • Omit source-span carets from diagnostics for empty PEP 508 requirements
Fixes (8)
  • Use windowed pythonw.exe launchers for virtual environments created from managed Python minor-version links
  • Allow uv lock to proceed when .venv is an unusable project environment
  • Respect fork-strategy when ordering forks created from environments or existing lockfile resolution-markers
  • Preserve consecutive wildcard Python minor-version exclusions such as !=3.11.*, !=3.12.* in uv.lock
  • Preserve inline comments on the final item in dependency arrays when uv add updates it
  • Recover from stale base-interpreter cache metadata when an existing virtual environment exposes a version mismatch
  • Prevent interpreter cache reuse across different PYTHONEXECUTABLE and __PYVENV_LAUNCHER__ overrides
  • Show standard styling, usage guidance, and line termination for invalid uv version --bump values
Read the original announcement →

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

Related releases