diff --git a/backend/src/hatchling/__about__.py b/backend/src/hatchling/__about__.py index d8d8ff440..689aa86da 100644 --- a/backend/src/hatchling/__about__.py +++ b/backend/src/hatchling/__about__.py @@ -1 +1 @@ -__version__ = '1.21.1' +__version__ = '1.22.0' diff --git a/docs/history/hatchling.md b/docs/history/hatchling.md index f2d0aeb69..0e40e9d49 100644 --- a/docs/history/hatchling.md +++ b/docs/history/hatchling.md @@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Unreleased +## [1.22.0](https://github.com/pypa/hatch/releases/tag/hatchling-v1.22.0) - 2024-03-16 ## {: #hatchling-v1.22.0 } + ***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. diff --git a/pyproject.toml b/pyproject.toml index 30ab99eb8..b4f44ed11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ classifiers = [ ] dependencies = [ "click>=8.0.6", - "hatchling<1.22", + "hatchling", "httpx>=0.22.0", "hyperlink>=21.0.0", "keyring>=23.5.0", diff --git a/src/hatch/cli/build/__init__.py b/src/hatch/cli/build/__init__.py index 349830f5b..c1bfcb537 100644 --- a/src/hatch/cli/build/__init__.py +++ b/src/hatch/cli/build/__init__.py @@ -4,8 +4,6 @@ import click -from hatchling.builders.constants import EDITABLES_REQUIREMENT - if TYPE_CHECKING: from hatch.cli.application import Application @@ -59,7 +57,7 @@ def build(app: Application, location, targets, hooks_only, no_hooks, ext, clean, from hatch.config.constants import AppEnvVars from hatch.utils.fs import Path from hatch.utils.structures import EnvVars - from hatchling.builders.constants import BuildEnvVars + from hatchling.builders.constants import EDITABLES_REQUIREMENT, BuildEnvVars from hatchling.builders.plugin.interface import BuilderInterface path = str(Path(location).resolve()) if location else None