The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/upgrade-versions-skip-date-tags has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
74f34c57cb69e845a3b3a40d88ca4d3d7f88a367 / Jarek Potiuk <[email protected]>
Skip date-shaped tags in upgrade_important_versions image bumper

The CI image bumper picked alpine's daily-edge tag 20260127 over the
3.23 release in apache/airflow#66580 -- and the same logic would
auto-pin any other Docker Hub image to its date-stamped daily build
under the right circumstances. Root cause:
packaging.version.Version("20260127") parses as a valid single-component
PEP 440 version and sorts higher than 3.23, so the bumper's "latest
version" selection picked the daily.

Pre-filter the tag list against a date-shaped regex (v?\d{8}(\.\d+)?)
before parsing as a Version. Belt-and-braces: also reject parsed Version
objects whose major component is implausibly large (>= 10000), catching
any date-shaped value the regex somehow misses. Add `edge` to the
existing floating-tag skiplist while we're here.

Tests cover the alpine real-tag mix (release + date + edge), busybox
style (mixed dotted releases + bare-major aliases), v-prefixed date
tags, and date-with-revision-suffix variants.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to