Skip to content

Commit 249b2e5

Browse files
potiukkaxil
authored andcommitted
[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 3f6f1db)
1 parent a366375 commit 249b2e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

airflow-core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ requires = [
2525
"pluggy==1.5.0",
2626
"smmap==5.0.2",
2727
"tomli==2.2.1; python_version < '3.11'",
28-
"trove-classifiers==2025.4.11.15",
28+
"trove-classifiers==2025.5.9.12",
2929
]
3030
build-backend = "hatchling.build"
3131

scripts/ci/airflow_version_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ def check_airflow_version(airflow_version: Version) -> tuple[str, bool]:
6363
sys.exit(1)
6464
if airflow_version == latest_version:
6565
latest = True
66-
# find requires-python = "~=VERSION" in pyproject.toml file of airflow
66+
# find requires-python = ">=VERSION" in pyproject.toml file of airflow
6767
pyproject_toml_conntent = (Path(__file__).parents[2] / "pyproject.toml").read_text()
68-
matched_version = re.search('requires-python = "~=([0-9]+.[0-9]+)', pyproject_toml_conntent)
68+
matched_version = re.search('requires-python = ">=([0-9]+.[0-9]+)', pyproject_toml_conntent)
6969
if matched_version:
7070
min_version = matched_version.group(1)
7171
else:

0 commit comments

Comments
 (0)