From 5605cde88cc5ced04a2732250d14b1fe0f411c92 Mon Sep 17 00:00:00 2001 From: Jens Scheffler <95105677+jscheffl@users.noreply.github.com> Date: Mon, 16 Dec 2024 05:41:03 +0100 Subject: [PATCH] Upgrade hatchling to fix upgrade checks (#44947) New hatchling version was released. --- .pre-commit-config.yaml | 6 +++--- clients/python/pyproject.toml | 2 +- docker_tests/requirements.txt | 2 +- pyproject.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65e3a0895b2cf..e06068a02bd39 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -491,21 +491,21 @@ repos: files: ^docs/apache-airflow/extra-packages-ref\.rst$|^hatch_build.py pass_filenames: false entry: ./scripts/ci/pre_commit/check_extra_packages_ref.py - additional_dependencies: ['rich>=12.4.4', 'hatchling==1.26.3', 'tabulate'] + additional_dependencies: ['rich>=12.4.4', 'hatchling==1.27.0', 'tabulate'] - id: check-hatch-build-order name: Check order of dependencies in hatch_build.py language: python files: ^hatch_build.py$ pass_filenames: false entry: ./scripts/ci/pre_commit/check_order_hatch_build.py - additional_dependencies: ['rich>=12.4.4', 'hatchling==1.26.3'] + additional_dependencies: ['rich>=12.4.4', 'hatchling==1.27.0'] - id: update-extras name: Update extras in documentation entry: ./scripts/ci/pre_commit/insert_extras.py language: python files: ^contributing-docs/12_airflow_dependencies_and_extras.rst$|^INSTALL$|^providers/src/airflow/providers/.*/provider\.yaml$|^Dockerfile.* pass_filenames: false - additional_dependencies: ['rich>=12.4.4', 'hatchling==1.26.3'] + additional_dependencies: ['rich>=12.4.4', 'hatchling==1.27.0'] - id: check-extras-order name: Check order of extras in Dockerfile entry: ./scripts/ci/pre_commit/check_order_dockerfile_extras.py diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index 8043517831dbf..9010c3b54d974 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -16,7 +16,7 @@ # under the License. [build-system] -requires = ["hatchling==1.26.3"] +requires = ["hatchling==1.27.0"] build-backend = "hatchling.build" [project] diff --git a/docker_tests/requirements.txt b/docker_tests/requirements.txt index bcd9cd0655bb4..12bb045a85dd7 100644 --- a/docker_tests/requirements.txt +++ b/docker_tests/requirements.txt @@ -3,4 +3,4 @@ pytest-xdist # Requests 3 if it will be released, will be heavily breaking. requests>=2.27.0,<3 python-on-whales>=0.70.0 -hatchling==1.26.3 +hatchling==1.27.0 diff --git a/pyproject.toml b/pyproject.toml index a13fff7916a06..73238f6e0949e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ requires = [ "GitPython==3.1.43", "gitdb==4.0.11", - "hatchling==1.26.3", + "hatchling==1.27.0", "packaging==24.2", "pathspec==0.12.1", "pluggy==1.5.0",