Repository navigation
Fix static checks failing on CI upgrade PRs after flit_core bump - #73649
Merged
Merged
Conversation
The CI upgrade bumps the flit_core pin in every provider pyproject.toml, but those files are generated from pyproject_TEMPLATE.toml.jinja2, which still pinned the old version. The update-providers-build-files hook then regenerated them back to the old pin, so static checks failed on every upgrade PR that moved flit_core.
Andrushika
marked this pull request as ready for review
September 24, 2026 08:33
Andrushika
requested review from
amoghrajesh,
ashb,
bugraoz93,
gopidesupavan,
jason810496,
jscheffl and
potiuk
as code owners
September 24, 2026 08:33
potiuk
approved these changes
Sep 24, 2026
Member
|
Thanks! |
Contributor
Backport successfully created: v3-3-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
potiuk
pushed a commit
that referenced
this pull request
Sep 24, 2026
…pgrades (#73649) (#73654) The CI upgrade bumps the flit_core pin in every provider pyproject.toml, but those files are generated from pyproject_TEMPLATE.toml.jinja2, which still pinned the old version. The update-providers-build-files hook then regenerated them back to the old pin, so static checks failed on every upgrade PR that moved flit_core. (cherry picked from commit 478272a) Co-authored-by: Andrew Chang <69671930+Andrushika@users.noreply.github.com>
potiuk
added a commit
that referenced
this pull request
Sep 24, 2026
This upgrade commit was generated before #73649 taught the upgrade script to update pyproject_TEMPLATE.toml.jinja2, so the template kept flit_core==4.0.2 while every provider pyproject.toml moved to 4.1.0. The update-providers-build-files hook then regenerated the providers back to 4.0.2 and failed static checks. Generated-by: Claude Opus 5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
breeze ci upgraderunsupgrade_important_versions.py, which bumps theflit_corepin in every providerpyproject.toml. Those files are generated fromdev/breeze/src/airflow_breeze/templates/pyproject_TEMPLATE.toml.jinja2, but the script does not update the pin there. So theupdate-providers-build-fileshook regenerates them back to the old pin, and static checks fail on both upgrade PRs.What
Add the template to
FILES_TO_UPDATE, so the sameflit_corebump also moves the template pin. Another option is to read the flit version from one place, like the hatchling branch of the template already does withairflow-core/pyproject.toml, but that changes breeze's generation code, so I kept this small to backport to v3-3-test.related: #73519, #73629
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 5.5) following the guidelines