Skip to content

Releases: pypa/hatch

Hatchling v1.22.2

16 Mar 15:10
Compare
Choose a tag to compare

Fixed:

  • Fix regression when loading metadata from source distributions
  • Fix metadata hooks when building wheels from source distributions

Hatchling v1.22.1

16 Mar 03:17
Compare
Choose a tag to compare

Fixed:

  • Update the default version of core metadata to 2.3

Hatchling v1.22.0

16 Mar 02:51
Compare
Choose a tag to compare

Deprecated:

  • The app build target has been renamed to binary to reduce ambiguity with the name of an upcoming feature. The former name will still be usable for several minor releases.

Added:

  • Metadata for the wheel target now defaults to the PKG-INFO metadata within source distributions
  • Add dependencies method to the build hook interface so that hooks can themselves dynamically define dependencies
  • Update the default version of core metadata to 2.2
  • Update SPDX license information to version 3.23
  • Improve error message for when the default heuristics for wheel file inclusion fail

Fixed:

  • Properly support core metadata version 2.2
  • Remove editables as a direct dependency
  • Fix default wheel tag when the supported Python version declaration is strict
  • Load VCS ignore patterns first so that whitelisted patterns can be excluded by project configuration
  • Don't consider VCS ignore files that are outside of the VCS boundary
  • The sdist build target now gracefully ignores UNIX socket files
  • Begin ignoring certain files ubiquitously, like .DS_Store on macOS

Hatch v1.9.4

12 Mar 03:42
Compare
Choose a tag to compare

Fixed:

  • Limit the maximum version of Hatchling in anticipation of backward incompatible changes

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