Skip to content

Releases: pypa/hatch

Hatchling v1.21.1

25 Jan 00:57
Compare
Choose a tag to compare

Fixed:

  • Fix loading of local plugins to account for newly released versions of a dependency

Hatch v1.9.3

25 Jan 01:05
Compare
Choose a tag to compare

Fixed:

  • Fix loading of local plugins to account for newly released versions of a dependency

Hatch v1.9.2

21 Jan 03:19
Compare
Choose a tag to compare

Fixed:

  • Fix the default token variable name for publishing to PyPI

Hatch v1.9.1

25 Dec 05:51
Compare
Choose a tag to compare

Fixed:

  • Ensure that the dependency_hash method of the environment interface is called after sync_dependencies for cases where the hash is only known at that point, such as for dependency lockers
  • Only acknowledge the HATCH_PYTHON_VARIANT_* environment variables for Python resolution for supported platforms and architectures
  • Fix Python resolution when there are metadata hooks with unsatisfied dependencies

Hatch v1.9.0

19 Dec 03:34
Compare
Choose a tag to compare

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 find and check_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 path option for the virtual environment type
  • Fix nushell activation on non-Windows systems

Hatchling v1.21.0

18 Dec 05:17
6b12353
Compare
Choose a tag to compare

Added:

  • Add parent context modifier for path fields

Hatch v1.8.1

14 Dec 05:23
3bc004c
Compare
Choose a tag to compare

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

13 Dec 07:14
Compare
Choose a tag to compare

Added:

  • Add bypass-selection option to the wheel build target to allow for empty (metadata-only) wheels

Fixed:

  • Fix regression in 1.19.1 that allowed exclude to 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

12 Dec 06:33
Compare
Choose a tag to compare

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

11 Dec 07:00
Compare
Choose a tag to compare

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