Releases: pypa/hatch
Releases Β· pypa/hatch
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
Hatchling v1.14.0
Added:
- Add
trove-classifiers
as a dependency
Fixed:
- Properly normalize metadata descriptions that contain line breaks
Hatchling v1.13.0
Added:
- Update the set of known trove classifiers to version 2023.2.8
Hatchling v1.12.2
Fixed:
- Add
macos-max-compat
option to thewheel
target that is enabled by default to support the latest version 22.0 of thepackaging
library
Hatchling v1.12.1
Fixed:
- Fix minor regression in the PEP 517/660 function signatures that was discovered by Fedora
Hatchling v1.12.0
Added:
- Improve readability of exceptions
- Add
extra_metadata
build data to thewheel
target - Retroactively support
License-Expression
core metadata starting at version 2.1 - Add more type hints
- Update the set of known trove classifiers to version 2022.12.22
- Update SPDX license information to version 3.19
- Store Hatchling's metadata in
pyproject.toml
Fixed:
- Acknowledge the
ARCHFLAGS
environment variable on macOS for thewheel
target when build hooks set theinfer_tag
build data totrue
- Fix dependency checking when encountering broken distributions
- Fix the
support-legacy
option for thesdist
target when using a src-layout project structure - Remove unnecessary encoding declaration in the default template for the
version
build hook
Hatch v1.6.3
Fixed:
- Fix
version
command when the version is dynamic and build dependencies are unmet
Hatch v1.6.2
Fixed:
- Fix getting dynamic metadata from hooks for environments when dependencies are not dynamic
Hatchling v1.11.1
Fixed:
- Fix default file selection behavior of the
wheel
target when there is a single top-level module
Hatch v1.6.1
Fixed:
- Computing the path to the user's home directory now gracefully falls back to
~
when it cannot be determined