I am pleased to announce that hatch 1.18.2 and hatchling 1.33.0 have been released. With a big thank you to the community that contributed many of these changes!
Highlights of changes
-
Upgrade default CPython distributions to 20261026
-
Officially support Python 3.15. Managed Python 3.15 distributions are now the final 3.15.2 release rather than a release candidate, and the default
testcommand matrix includes3.15and3.15t -
Fix syncing environment plugin requirements on standalone binaries built to forward to
pip -
Fix the
testcommand raising anIndexErrorwith--cover, or silently doing nothing otherwise, when the--includeor--excludeoptions match no environments. It now aborts with a clear message. -
Fix build hooks that set
require-runtime-dependencies(or otherwise declare dynamic build dependencies) failing withModuleNotFoundErrorbecause those dependencies were never installed into the build environment. Environment plugins should use the newadd_additional_dependenciesmethod to extendadditional_dependenciesso that cached dependency views are invalidated. -
Fix the
hatch check fmtcommand dropping the default Ruff configuration when the user’s Ruff configuration contains keys that merely start withextend, such asextend-exclude. Only an exactextendkey now prevents the default configuration from being injected.