Skip to content

Fix airflow-ctl 0.1 branch image build by realigning core versions - #71097

Open
Lee-W wants to merge 1 commit into
apache:airflow-ctl/v0-1-testfrom
astronomer:ctl-v0-1-fix-image-build-core-versions
Open

Fix airflow-ctl 0.1 branch image build by realigning core versions#71097
Lee-W wants to merge 1 commit into
apache:airflow-ctl/v0-1-testfrom
astronomer:ctl-v0-1-fix-image-build-core-versions

Conversation

@Lee-W

@Lee-W Lee-W commented Aug 4, 2026

Copy link
Copy Markdown
Member

The "airflow-ctl 0.1.5: test to stable" sync (#67294) copied main's airflow-core/pyproject.toml metadata onto this branch without the matching sources. Three leftovers stayed behind:

  • the distribution version became 3.3.0 while airflow-core/src/airflow/__init__.py stayed 3.2.1
  • the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this branch is 1.2.1
  • a force-include and a shared_distributions entry appeared for apache-airflow-shared-state, which has no shared/state folder here

Once CI actually started running on this branch (#70724), the CI image build failed pip check on the resulting triangle:

apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
  but you have apache-airflow-core 3.3.0
apache-airflow-core 3.3.0 has requirement
  apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
apache-airflow-task-sdk 1.2.1 has requirement
  apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0

This realigns the metadata with the sources that are on the branch — which is what check-version-consistency and check-shared-distributions-usage already expect — and refreshes uv.lock, which had drifted from the same sync.

Split out of #70724 so that PR stays workflow-only.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 5

Generated-by: Claude Opus 5 following the guidelines

The "airflow-ctl 0.1.5: test to stable" sync (apache#67294) copied main's
airflow-core/pyproject.toml metadata onto this branch without the
matching sources. Three leftovers stayed behind:

- the distribution version became 3.3.0 while
  airflow-core/src/airflow/__init__.py stayed 3.2.1
- the Task SDK requirement became >=1.3.0,<1.4.0 while task-sdk on this
  branch is 1.2.1
- a force-include and a shared_distributions entry appeared for
  apache-airflow-shared-state, which has no shared/state folder here

Once CI actually started running on this branch, the CI image build
failed pip check on the resulting triangle:

    apache-airflow 3.2.1 has requirement apache-airflow-core==3.2.1,
      but you have apache-airflow-core 3.3.0
    apache-airflow-core 3.3.0 has requirement
      apache-airflow-task-sdk<1.4.0,>=1.3.0, but you have 1.2.1
    apache-airflow-task-sdk 1.2.1 has requirement
      apache-airflow-core<3.3.0,>=3.2.0, but you have 3.3.0

Realign the metadata with the sources that are on the branch, which is
what check-version-consistency and check-shared-distributions-usage
already expect, and refresh uv.lock, which had drifted from the same
sync.
@Lee-W
Lee-W marked this pull request as ready for review August 5, 2026 08:44
@jason810496
jason810496 requested a review from bugraoz93 August 5, 2026 08:57

@jason810496 jason810496 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @bugraoz93 would you like to take a final look before merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants