Hatch v1.7.0
Changed:
- The
src-layout
project template option is now enabled by default - Non-critical output now goes to stderr
Added:
- Add
tool.hatch.env.requires
configuration to automatically install dependencies for environment and environment collector plugins - Add
custom
environment collector - Improve syncing of dependencies provided through Git direct references
- Add
isolated_data_directory
attribute to the environment interface - Increase the timeout for and add retries to the
index
publisher - Expand home and environment variables in configured cache and data directories
- Improve readability of exceptions
- Update project templates
- Bump the minimum supported version of Hatchling to 1.14.0
Fixed:
- Fix displaying the version with the
version
command when the version is static and build dependencies are unmet - Fix build environments for the
virtual
environment type when storing within a relative path - Work around System Integrity Protection on macOS when running commands
- Allow setuptools metadata migration for projects without
setup.py
ifsetup.cfg
is present - Handle additional edge cases for setuptools metadata migration
- Support boolean values for the
config set
command