Releases: pypa/hatch
Releases Β· pypa/hatch
Hatch v1.9.0
Changed:
- Environments prefixed by
hatch-are now considered internal and used for special purposes such as configuration for static analysis
Added:
- Enable docstring formatting by default for static analysis
- Allow for overriding config of internal environments
- Concretely state the expected API contract for the environment interface methods
findandcheck_compatibility - Upgrade Ruff to 0.1.8
- Bump the minimum supported version of Hatchling to 1.21.0
Fixed:
- Ignore a project's Python requirement for environments where the project is not installed
- When not persisting config for static analysis, properly manage internal settings when Ruff's top level table already exists
- Ignore compatibility checks when environments have already been created, significantly improving performance of environment usage
- Properly allow overriding of the
pathoption for thevirtualenvironment type - Fix nushell activation on non-Windows systems
Hatchling v1.21.0
Added:
- Add
parentcontext modifier for path fields
Hatch v1.8.1
Fixed:
- Fix regression in calling subprocesses with updated PATH
- Fix automatic installation of environment plugins when running as a standalone binary
- Change default location of Python installations
Hatchling v1.20.0
Added:
- Add
bypass-selectionoption to thewheelbuild target to allow for empty (metadata-only) wheels
Fixed:
- Fix regression in 1.19.1 that allowed
excludeto count toward inclusion selection, thus bypassing the default inclusion selection heuristics - Fix writing optional dependency core metadata in situations where there are multiple environment markers
Hatchling v1.19.1
Fixed:
- Add better error message when the
wheelbuild target cannot determine what to ship - Consider forced inclusion patterns and build-time artifacts as file selection since some build hooks generate the entire wheel contents without user configuration
Hatchling v1.19.0
Changed:
- An error will now be raised if a force-included path does not exist
- An error will now be raised for the
wheelbuild target if no file selection options are defined
Added:
- Officially support Python 3.12
- Allow using an empty string for the
sourcesoption to add a prefix to distribution paths
Fixed:
- Properly handle non-zero version epoch for the
standardversion scheme - Fix the
wheelbuild target for case insensitive file systems when the project metadata name does not match the directory name on disk - The
appbuild target no longer has suppressed output - Prevent duplicate paths when projects require the
sourcesoption while build hooks overwrite included paths - Properly escape spaces for URI context formatting
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
Hatchling v1.18.0
Changed:
- Drop support for Python 3.7
Added:
- Update the list of directories that are always excluded for builds
Hatchling v1.17.1
Fixed:
- Fix dev mode when the project has symlinks and file inclusion is defined with the
packagesoronly-includeoptions - Change the name of generated PTH files for dev mode so they come first lexicographically and therefore load first
Hatchling v1.17.0
Added:
- The
appbuild target now embeds the project version in the name of binaries