Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion chart/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion clients/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion dev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion docker-stack-docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion docker-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion helm-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion kubernetes-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion providers-summary-docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "dev@airflow.apache.org" },
]
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/airflow_version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down