0.12.19 0.12.20

low risk

astral-sh/uvSep 25, 2026 → Sep 28, 20264 days between releases

What's New

Improves lockfile reuse, adds lockfile-normalization preview, and fixes HTTP cache stalls.

New Features

  • New `lockfile-normalization` preview feature for writing normalized requirement declarations.
  • Honor synthetic default groups when installing or syncing from `pylock.toml`.
  • Resolve local paths in exported `pylock.toml` files relative to the output file.
  • Install each package only once when repeated `tool-install-locks` requirements resolve to the same package.
  • Reuse `lock-without-metadata` lockfiles for conflicting groups with distinct base and extra requirement specifiers.

Improvements

  • Reuse lockfiles when dependency declarations are semantically equivalent.
  • Restore HTTP cache-write scheduling to prevent stalls on ext4 filesystems.
  • Preserve second-line encoding declarations for wheel scripts with CRLF shebangs.
  • Continue searching `XDG_CONFIG_DIRS` after empty entries.

Bug Fixes

  • Fix hash constraints for repeated requirements under `--require-hashes`.
  • Resolve multiple panics related to Python sysconfig paths and requirements files.

Upgrade Notes

New `lockfile-normalization` preview feature is available. Existing lockfiles may be reused more aggressively, so verify behavior if you rely on strict lockfile pinning. The HTTP cache scheduling fix may require clearing your cache if you previously experienced stalls.

The Two Releases

0.12.19

0.12.19

Sep 25, 2026· 28 days ago

This release adds support for newer Python versions including PyPy 3.11.16 and 3.12.14, and GraalPy 3.13.0. It introduces preview features for lazy imports in build backends and resolution input handling. Additionally, it fixes issues with package reinstalling due to signed query parameters and marker parsing.

Full release notes
0.12.20

0.12.20

Sep 28, 2026· 24 days ago

This release focuses on lockfile optimization, encoding fixes for wheel scripts, and stability improvements including performance restoration for HTTP caching and bug fixes for hash constraints and panics.

Full release notes