Releases: pypa/hatch
Releases · pypa/hatch
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_metadatabuild data to thewheeltarget - Retroactively support
License-Expressioncore 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
ARCHFLAGSenvironment variable on macOS for thewheeltarget when build hooks set theinfer_tagbuild data totrue - Fix dependency checking when encountering broken distributions
- Fix the
support-legacyoption for thesdisttarget when using a src-layout project structure - Remove unnecessary encoding declaration in the default template for the
versionbuild hook
Hatch v1.6.3
Fixed:
- Fix
versioncommand 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
wheeltarget 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
Hatch v1.6.0
Changed:
- The
run_shell_commandenvironment interface method now accepts arbitrarysubprocess.Popenkeyword arguments. This is not strictly breaking, but will be utilized in upcoming features. - The internal directory structure for storing
virtualenvironments is now more nested. This is not breaking, but any local environments will be created anew.
Added:
- Add
projectcommand group to view details about the project like PEP 621 metadata - Better support for auto-detection of environments by tools like Visual Studio Code now that the storage directory of
virtualenvironments will be flat if Hatch's configuredvirtualenvironment directory resides somewhere within the project root or if it is set to a.virtualenvsdirectory within the user's home directory - Build environments for the
virtualenvironment type are now cached for improved performance - Add
build_environment_existsmethod to the environment interface for implementations that cache the build environment - Add
pathoption to thevirtualenvironment type - Add
--initialize-authflag to theindexpublisher to allow for the saving of authentication information before publishing - Support Bash on Windows for the
shellcommand - The
setuptoolsmigration script no longer modifies the formatting of existingpyproject.tomlconfiguration - Bump the minimum supported version of Hatchling to 1.11.0
Fixed:
- Environments now respect dynamically defined project dependencies
- The
dep hashand alldep showcommands now respect dynamically defined project dependencies - The
env show,dep hash, and alldep showcommands now honor context formatting - Fix matrix variable inclusion filtering of the
runandenv runcommands when there are multiple possible variables - Build environment compatibility is now checked before use
- Decreasing verbosity now has no affect on output that should always be displayed
- Handle more edge cases in the
setuptoolsmigration script - Environments now respect user defined environment variables for context formatting
- Update the scripts in the generated test environment template for new projects to reflect the documentation
- Allow
extra-dependenciesin environment overrides - Depend on
packagingexplicitly rather than relying on it being a transitive dependency of Hatchling
Hatchling v1.11.0
Added:
- Add
envversion source to retrieve the version from an environment variable - Add
validate-bumpoption to thestandardversion scheme
Fixed:
- Use proper CSV formatting for the
RECORDmetadata file of thewheeltarget to avoid warnings during installation bypipif, for example, file names contain commas - Fix installations with pip for build hooks that modify runtime dependencies
- Decreasing verbosity now has no affect on output that should always be displayed
Hatchling v1.10.0
Added:
- Add the following to the list of directories that cannot be traversed:
__pypackages__,.hg,.hatch,.tox,.nox - Add deprecated option to allow ambiguous features
Fixed:
- Improve tracking of dynamic metadata
- Fix core metadata for entries in
project.optional-dependenciesthat use direct references
Hatchling v1.9.0
Changed:
- File pattern matching now more closely resembles Git's behavior
Added:
- Implement a minimal version of
prepare_metadata_for_build_wheelandprepare_metadata_for_build_editablefor non-frontend tools that only need to inspect a project's metadata - Add
metadatacommand to view PEP 621 project metadata - Improve error messages for SPDX license errors
- Retroactively support
License-Filefor core metadata starting at version 2.1 - Bump the minimum supported version of
pathspecto 0.10.1
Fixed:
- Allow the valid non-SPDX
licensevaluesLicenseRef-Public-DomainandLicenseRef-Proprietary - Show the help text of the CLI when no subcommand is selected