The GitHub Actions job "Tests AMD" on airflow.git/fix-version-check has 
succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
9dbe270e038adcb39b776947f170388e1411bcee / Kaxil Naik <[email protected]>
Fix version validation script for building docker images

Example failure: 
https://github.com/apache/airflow/actions/runs/15053245013/job/42312930970

Previously, the script used string-based sorting of PyPI releases, which caused 
versions like 2.11.0 to be incorrectly excluded (e.g. sorted behind 2.9.x). 
This commit updates the logic to use semantic versioning via 
`packaging.version.Version`.

Before:

```
❯ uv  run scripts/ci/airflow_version_check.py 2.11.0rc1
Version 2.11.0rc1 is not a valid Airflow version
Available versions: (first available 30 versions):
['3.0.1rc1', '3.0.1', '3.0.0rc4', '3.0.0rc3', '3.0.0rc2', '3.0.0rc1.post4', 
'3.0.0rc1.post3', '3.0.0rc1.post2', '3.0.0rc1.post1', '3.0.0rc1', '3.0.0b4', 
'3.0.0', '2.9.3rc1', '2.9.3', '2.9.2rc1', '2.9.2', '2.9.1rc2', '2.9.1rc1', 
'2.9.1', '2.9.0rc3', '2.9.0rc2', '2.9.0rc1', '2.9.0b2', '2.9.0b1', '2.9.0', 
'2.8.4rc1', '2.8.4', '2.8.3rc1', '2.8.3', '2.8.2rc3']
```

After:

```
❯ uv  run scripts/ci/airflow_version_check.py 2.11.0rc1
Checking constraints file: 
https://raw.githubusercontent.com/apache/airflow/constraints-2.11.0rc1/constraints-3.9.txt
Constraints file found for version 2.11.0rc1, Python 3.9
airflowVersion=2.11.0rc1
airflowVersion=2.11.0rc1
skipLatest=true
skipLatest=true
```

Report URL: https://github.com/apache/airflow/actions/runs/15053494048

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to