Releases: pypa/hatch
Releases Β· pypa/hatch
Hatchling v1.19.1
Fixed:
- Add better error message when the
wheel
build 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
wheel
build target if no file selection options are defined
Added:
- Officially support Python 3.12
- Allow using an empty string for the
sources
option to add a prefix to distribution paths
Fixed:
- Properly handle non-zero version epoch for the
standard
version scheme - Fix the
wheel
build target for case insensitive file systems when the project metadata name does not match the directory name on disk - The
app
build target no longer has suppressed output - Prevent duplicate paths when projects require the
sources
option 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_process
method of theenvironment
interface has been removed; plugins should use the newrun_builder
method instead - Remove
pyperclip
dependency and the--copy
flag of theconfig find
command - When running the
build
command 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
fmt
command - The
virtual
environment type can now automatically download requested versions of Python that are not installed - Add
dependency_hash
method to theenvironment
interface - 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
build
command now supports backends other than Hatchling - Allow the use of
features
for environments whenskip-install
is enabled - The default is now
__TOKEN__
when prompting for a username for thepublish
command - Add a new
run_builder
method to theenvironment
interface - Bump the minimum supported version of Hatchling to 1.19.0
- Bump the minimum supported version of
click
to 8.0.6
Fixed:
- Fix nushell activation
- Better handling of flat storage directory hierarchies for the
virtual
environment type - Display useful information when running the
version
command outside of a project rather than erroring - Fix the
project metadata
command 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
packages
oronly-include
options - 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
app
build target now embeds the project version in the name of binaries
Hatchling v1.16.1
Fixed:
- Fix determining the built executable path for the
app
build target option when using a local copy of PyApp when there is an explicit target triple set
Hatchling v1.16.0
Added:
- Add
app
build target option to build using a local copy of the PyApp repository
Hatchling v1.15.0
Added:
- Add
app
build target
Hatchling v1.14.1
Fixed:
- Fix internal archive root naming for the
sdist
target whenstrict-naming
is disabled to match the file name in order to support the expectation of some frontends