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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 3f6f1db510c Remove remnants of ~= used in requires-python. (#52985)
3f6f1db510c is described below

commit 3f6f1db510ca9f6641c0c1bca396a20c3f930d00
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon Jul 7 19:33:44 2025 +0200

    Remove remnants of ~= used in requires-python. (#52985)
    
    Follow up after #52980 - there are still few more places where
    the ~= was used in requires-python.
---
 airflow-core/pyproject.toml           | 2 +-
 chart/pyproject.toml                  | 2 +-
 clients/python/pyproject.toml         | 2 +-
 dev/pyproject.toml                    | 2 +-
 docker-stack-docs/pyproject.toml      | 2 +-
 docker-tests/pyproject.toml           | 2 +-
 helm-tests/pyproject.toml             | 2 +-
 kubernetes-tests/pyproject.toml       | 2 +-
 providers-summary-docs/pyproject.toml | 2 +-
 pyproject.toml                        | 2 +-
 scripts/ci/airflow_version_check.py   | 4 ++--
 11 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml
index a4bc1463c00..39ec62fc4ec 100644
--- a/airflow-core/pyproject.toml
+++ b/airflow-core/pyproject.toml
@@ -35,7 +35,7 @@ name = "apache-airflow-core"
 description = "Core packages for Apache Airflow, schedule and API server"
 readme = { file = "README.md", content-type = "text/markdown" }
 license-files.globs = ["LICENSE", "3rd-party-licenses/*.txt", "NOTICE"]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/chart/pyproject.toml b/chart/pyproject.toml
index c33fe5ef3cf..a03b08a7469 100644
--- a/chart/pyproject.toml
+++ b/chart/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "hatchling.build"
 [project]
 name = "apache-airflow-helm-chart"
 description = "Programmatically author, schedule and monitor data pipelines"
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml
index b7f01bb004d..1692d6f715f 100644
--- a/clients/python/pyproject.toml
+++ b/clients/python/pyproject.toml
@@ -25,7 +25,7 @@ dynamic = ["version"]
 description = "Apache Airflow API (Stable)"
 readme = "README.md"
 license-files.globs = ["LICENSE", "NOTICE"]
-requires-python = "~=3.10"
+requires-python = ">=3.10"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/dev/pyproject.toml b/dev/pyproject.toml
index bc3654c12e0..37e518b5b0e 100644
--- a/dev/pyproject.toml
+++ b/dev/pyproject.toml
@@ -26,7 +26,7 @@ description = "Development tools for Apache Airflow"
 classifiers = [
     "Private :: Do Not Upload",
 ]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/docker-stack-docs/pyproject.toml b/docker-stack-docs/pyproject.toml
index 3786f806c87..c01502e715e 100644
--- a/docker-stack-docs/pyproject.toml
+++ b/docker-stack-docs/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "hatchling.build"
 [project]
 name = "apache-airflow-docker-stack"
 description = "Programmatically author, schedule and monitor data pipelines"
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/docker-tests/pyproject.toml b/docker-tests/pyproject.toml
index 384ba7a94ce..7c82242aaaa 100644
--- a/docker-tests/pyproject.toml
+++ b/docker-tests/pyproject.toml
@@ -26,7 +26,7 @@ description = "Docker tests for Apache Airflow"
 classifiers = [
     "Private :: Do Not Upload",
 ]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/helm-tests/pyproject.toml b/helm-tests/pyproject.toml
index 0058ba598af..315ce97f437 100644
--- a/helm-tests/pyproject.toml
+++ b/helm-tests/pyproject.toml
@@ -26,7 +26,7 @@ description = "Helm tests for Apache Airflow"
 classifiers = [
     "Private :: Do Not Upload",
 ]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/kubernetes-tests/pyproject.toml b/kubernetes-tests/pyproject.toml
index dab5bf66e14..653ec5a5c50 100644
--- a/kubernetes-tests/pyproject.toml
+++ b/kubernetes-tests/pyproject.toml
@@ -24,7 +24,7 @@ description = "Kubernetes tests for Apache Airflow"
 classifiers = [
     "Private :: Do Not Upload",
 ]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/providers-summary-docs/pyproject.toml 
b/providers-summary-docs/pyproject.toml
index cfe99c86bf0..540cd93e003 100644
--- a/providers-summary-docs/pyproject.toml
+++ b/providers-summary-docs/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "hatchling.build"
 [project]
 name = "apache-airflow-providers"
 description = "Programmatically author, schedule and monitor data pipelines"
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/pyproject.toml b/pyproject.toml
index 5011c6e7b89..34ae0f35763 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ name = "apache-airflow"
 description = "Programmatically author, schedule and monitor data pipelines"
 readme = { file = "generated/PYPI_README.md", content-type = "text/markdown" }
 license-files.globs = ["LICENSE"]
-requires-python = "~=3.10,!=3.13"
+requires-python = ">=3.10,!=3.13"
 authors = [
     { name = "Apache Software Foundation", email = "[email protected]" },
 ]
diff --git a/scripts/ci/airflow_version_check.py 
b/scripts/ci/airflow_version_check.py
index 467f71442ce..9a838916894 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