github-actions[bot] opened a new pull request, #66599:
URL: https://github.com/apache/airflow/pull/66599
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.
(cherry picked from commit aeb692f901ffc3540185eeda75da3c4f634b538c)
Co-authored-by: Jarek Potiuk <[email protected]>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]