Hatch v1.8.0
Changed:
- Drop support for Python 3.7
- The
get_build_processmethod of theenvironmentinterface has been removed; plugins should use the newrun_buildermethod instead - Remove
pyperclipdependency and the--copyflag of theconfig findcommand - When running the
buildcommand all output from builders is now displayed as-is in real time without the stripping of ANSI codes - Version information (for Hatch itself) is now derived from Git
Added:
- Support Python 3.12
- Add installers and standalone binaries
- Add the ability to manage Python installations
- Add
fmtcommand - The
virtualenvironment type can now automatically download requested versions of Python that are not installed - Add
dependency_hashmethod to theenvironmentinterface - The state of installed dependencies for environments is saved as metadata so if dependency definitions have not changed then no checking is performed, which can be computationally expensive
- The
buildcommand now supports backends other than Hatchling - Allow the use of
featuresfor environments whenskip-installis enabled - The default is now
__TOKEN__when prompting for a username for thepublishcommand - Add a new
run_buildermethod to theenvironmentinterface - Bump the minimum supported version of Hatchling to 1.19.0
- Bump the minimum supported version of
clickto 8.0.6
Fixed:
- Fix nushell activation
- Better handling of flat storage directory hierarchies for the
virtualenvironment type - Display useful information when running the
versioncommand outside of a project rather than erroring - Fix the
project metadatacommand by only capturing stdout from the backend - Properly support Google Artifact Registry
- Fix parsing dependencies for environments when warnings are emitted