Hatch 1.17.1 and hatchling 1.31.0 are now released!

Hatchling

  • Fixed a bug when rewriting shebangs for shared scripts. Thanks to @henryiii for finding this via a rarely occurring flaky test!

Hatch

  • Use TemporaryDirectory and pylock*.toml for temporary lock files.
  • Skip injection of ruff extend if a key already exists in ruff.toml.
  • Pass --no-header to uv pip compile in the uv locker so that generated lockfiles are deterministic.
  • Fix env-dependency extras being dropped when a metadata hook is configured and resolve workspace-member extras from the member’s own metadata.
6 Likes