This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 5b8b909282d [v3-1-test] Update all hatch versions in all files 
(#56784) (#56817)
5b8b909282d is described below

commit 5b8b909282d1411c443ff8cd71af452728bde84f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Oct 18 13:33:58 2025 +0200

    [v3-1-test] Update all hatch versions in all files (#56784) (#56817)
    
    Hatch == and >= remained in two places even after upgrading the
    important versions. This PR fixes it.
    (cherry picked from commit 6014289b1cbbffbfb514aadc9de285939b0b8e2c)
    
    Co-authored-by: Jarek Potiuk <[email protected]>
    Co-authored-by: GPK <[email protected]>
---
 .github/workflows/airflow-distributions-tests.yml |  2 +-
 dev/breeze/README.md                              |  2 +-
 dev/breeze/pyproject.toml                         |  2 +-
 dev/breeze/uv.lock                                |  8 ++++----
 scripts/ci/prek/upgrade_important_versions.py     | 12 ++++++++++++
 5 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/airflow-distributions-tests.yml 
b/.github/workflows/airflow-distributions-tests.yml
index beda0fcd803..8a76f5cf067 100644
--- a/.github/workflows/airflow-distributions-tests.yml
+++ b/.github/workflows/airflow-distributions-tests.yml
@@ -113,7 +113,7 @@ jobs:
           USE_LOCAL_HATCH: "${{ inputs.use-local-venv }}"
         run: |
           uv tool uninstall hatch || true
-          uv tool install hatch==1.14.1
+          uv tool install hatch==1.15.1
           breeze release-management "${DISTRIBUTION_TYPE}" 
--distribution-format wheel
         if: ${{ matrix.python-version == inputs.default-python-version }}
       - name: "Verify wheel packages with twine"
diff --git a/dev/breeze/README.md b/dev/breeze/README.md
index 7bba5823c44..33a9928dbb6 100644
--- a/dev/breeze/README.md
+++ b/dev/breeze/README.md
@@ -135,6 +135,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY 
UPDATED BY PREK.
 
 
---------------------------------------------------------------------------------------------------------
 
-Package config hash: 
7c6a8fffee77141abf2460660f0cfa4e2f6d8d78a0cbe821bbdae760356aa6df0f4f1cc1d2f674cb57d48efe07b92a3fb31e4b2f07e38eb543f5cc3419befc82
+Package config hash: 
eeecbf0df75ded82558188c801a214f66c89da758f4bf58fd6381234bcd222fe9b53154e10331c6975f5521377d93f8f3a8f39e3d76e6874510df80511096a00
 
 
---------------------------------------------------------------------------------------------------------
diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml
index e655de46697..04c8aac34e4 100644
--- a/dev/breeze/pyproject.toml
+++ b/dev/breeze/pyproject.toml
@@ -55,7 +55,7 @@ dependencies = [
     "google-auth-httplib2>=0.2.0",
     "google-auth-oauthlib>=1.2.0",
     "gitpython>=3.1.40",
-    "hatch>=1.14.1",
+    "hatch>=1.15.1",
     "inputimeout>=1.0.4",
     "jinja2>=3.1.5",
     "jsonschema>=4.19.1",
diff --git a/dev/breeze/uv.lock b/dev/breeze/uv.lock
index 39c05e56c43..75031b25d89 100644
--- a/dev/breeze/uv.lock
+++ b/dev/breeze/uv.lock
@@ -70,7 +70,7 @@ requires-dist = [
     { name = "google-api-python-client", specifier = ">=2.142.0" },
     { name = "google-auth-httplib2", specifier = ">=0.2.0" },
     { name = "google-auth-oauthlib", specifier = ">=1.2.0" },
-    { name = "hatch", specifier = ">=1.14.1" },
+    { name = "hatch", specifier = ">=1.15.1" },
     { name = "inputimeout", specifier = ">=1.0.4" },
     { name = "jinja2", specifier = ">=3.1.5" },
     { name = "jsonschema", specifier = ">=4.19.1" },
@@ -571,7 +571,7 @@ wheels = [
 
 [[package]]
 name = "hatch"
-version = "1.14.1"
+version = "1.15.1"
 source = { registry = "https://pypi.org/simple"; }
 dependencies = [
     { name = "click" },
@@ -591,9 +591,9 @@ dependencies = [
     { name = "virtualenv" },
     { name = "zstandard" },
 ]
-sdist = { url = 
"https://files.pythonhosted.org/packages/1f/43/c0b37db0e857a44ce5ffdb7e8a9b8fa6425d0b74dea698fafcd9bddb50d1/hatch-1.14.1.tar.gz";,
 hash = 
"sha256:ca1aff788f8596b0dd1f8f8dfe776443d2724a86b1976fabaf087406ba3d0713", size 
= 5188180, upload-time = "2025-04-07T04:16:04.522Z" }
+sdist = { url = 
"https://files.pythonhosted.org/packages/f8/30/a7f19d337df93fb15dec6892e9ae678acd4ae10ce03d02722f17c7fe513b/hatch-1.15.1.tar.gz";,
 hash = 
"sha256:444a78123c9837e8c9f5adfbf2b8b0a72139587eb49d6b368038b0521136fc43", size 
= 5189156, upload-time = "2025-10-16T20:35:54.616Z" }
 wheels = [
-    { url = 
"https://files.pythonhosted.org/packages/a5/40/19c0935bf9f25808541a0e3144ac459de696c5b6b6d4511a98d456c69604/hatch-1.14.1-py3-none-any.whl";,
 hash = 
"sha256:39cdaa59e47ce0c5505d88a951f4324a9c5aafa17e4a877e2fde79b36ab66c21", size 
= 125770, upload-time = "2025-04-07T04:16:02.525Z" },
+    { url = 
"https://files.pythonhosted.org/packages/69/01/316ef533114e0de0649e2e925ae2f97dfe26fbe5358f678e84b2a5fa1407/hatch-1.15.1-py3-none-any.whl";,
 hash = 
"sha256:99dccb26b00226056142f89d6e286be61e2d7b5b5b4e6178ebbe9298c1bc45d9", size 
= 126295, upload-time = "2025-10-16T20:35:52.354Z" },
 ]
 
 [[package]]
diff --git a/scripts/ci/prek/upgrade_important_versions.py 
b/scripts/ci/prek/upgrade_important_versions.py
index 779c692b70b..4fea404e052 100755
--- a/scripts/ci/prek/upgrade_important_versions.py
+++ b/scripts/ci/prek/upgrade_important_versions.py
@@ -59,6 +59,8 @@ FILES_TO_UPDATE: list[tuple[Path, bool]] = [
     (AIRFLOW_ROOT_PATH / "scripts" / "docker" / "common.sh", False),
     (AIRFLOW_ROOT_PATH / "scripts" / "tools" / "setup_breeze", False),
     (AIRFLOW_ROOT_PATH / "pyproject.toml", False),
+    (AIRFLOW_ROOT_PATH / ".github" / "workflows" / 
"airflow-distributions-tests.yml", False),
+    (AIRFLOW_ROOT_PATH / "dev" / "breeze" / "pyproject.toml", False),
     (AIRFLOW_ROOT_PATH / "dev" / "breeze" / "src" / "airflow_breeze" / 
"global_constants.py", False),
     (
         AIRFLOW_ROOT_PATH
@@ -406,6 +408,16 @@ if __name__ == "__main__":
                 f'HATCH_VERSION="{hatch_version}"',
                 new_content,
             )
+            new_content = re.sub(
+                r"(hatch==)([0-9.abrc]+)",
+                f"hatch=={hatch_version}",
+                new_content,
+            )
+            new_content = re.sub(
+                r"(hatch>=)([0-9.abrc]+)",
+                f"hatch>={hatch_version}",
+                new_content,
+            )
         if UPGRADE_PYYAML:
             new_content = re.sub(
                 r"(PYYAML_VERSION = )(\"[0-9.abrc]+\")",

Reply via email to