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

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

commit 249b2e5a31d4cd5c3c7c9d6a1e49117d8cdf43f4
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jul 7 19:39:09 2025 +0200

    [v3-0-test] Remove remnants of ~= used in requires-python. (#52985) (#52987)
    
    Follow up after #52980 - there are still few more places where
    the ~= was used in requires-python.
    (cherry picked from commit 3f6f1db510ca9f6641c0c1bca396a20c3f930d00)
---
 airflow-core/pyproject.toml         | 2 +-
 scripts/ci/airflow_version_check.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index 8af8cd3b6fd..8e00ed531a1 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -25,7 +25,7 @@ requires = [
     "pluggy==1.5.0",
     "smmap==5.0.2",
     "tomli==2.2.1; python_version < '3.11'",
-    "trove-classifiers==2025.4.11.15",
+    "trove-classifiers==2025.5.9.12",
 ]
 build-backend = "hatchling.build"
 
diff --git a/scripts/ci/airflow_version_check.py 
b/scripts/ci/airflow_version_check.py
index 45354d29884..cdeb807b7e6 100755
--- a/scripts/ci/airflow_version_check.py
+++ b/scripts/ci/airflow_version_check.py
@@ -63,9 +63,9 @@ def check_airflow_version(airflow_version: Version) -> 
tuple[str, bool]:
             sys.exit(1)
         if airflow_version == latest_version:
             latest = True
-        # find requires-python = "~=VERSION" in pyproject.toml file of airflow
+        # find requires-python = ">=VERSION" in pyproject.toml file of airflow
         pyproject_toml_conntent = (Path(__file__).parents[2] / 
"pyproject.toml").read_text()
-        matched_version = re.search('requires-python = "~=([0-9]+.[0-9]+)', 
pyproject_toml_conntent)
+        matched_version = re.search('requires-python = ">=([0-9]+.[0-9]+)', 
pyproject_toml_conntent)
         if matched_version:
             min_version = matched_version.group(1)
         else:

Reply via email to