Skip to content

[v3-3-test] Resolve release constraints against PyPI providers only (#71140) - #71143

Merged
potiuk merged 1 commit into
v3-3-testfrom
backport-71140-v3-3-test
Aug 5, 2026
Merged

[v3-3-test] Resolve release constraints against PyPI providers only (#71140)#71143
potiuk merged 1 commit into
v3-3-testfrom
backport-71140-v3-3-test

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

Backport of #71140 to v3-3-test. Clean git cherry-pick -x.

Makes the release constraints flow resolve providers as published on PyPI rather than building them from the checkout: adds a pypi-providers-only input (default false) that release-constraints.yml sets to true, gating off the source-providers constraints and the source provider build. This fixes a real correctness bug (a locally-built provider wheel could answer the resolution and then be excluded from the shipped constraints — dropping the very provider a release needs pinned) and unblocks the 3.3.1rc1 constraints run, which died in prepare-provider-distributions after flit removed --no-setup-py.

Needed on this branch so the 3.3.1 RC-constraints workflow can complete.

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines — clean cherry-pick backport of #71140.

A release pins the providers as published on PyPI. Building them from the sources
first puts a locally built wheel where the resolution can find it, and anything
answered locally is then left out of the constraints - dropping the very pin the
release needed. It also makes the release depend on the provider build toolchain
working, which is what broke 3.3.1rc1: flit removed --no-setup-py and package
preparation failed before any resolution ran.

(cherry picked from commit c37ba12)
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.1 milestone Aug 5, 2026
@vatsrahul1001 vatsrahul1001 added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Aug 5, 2026
@potiuk
potiuk merged commit 2a7efe5 into v3-3-test Aug 5, 2026
87 of 89 checks passed
@potiuk
potiuk deleted the backport-71140-v3-3-test branch August 5, 2026 05:34
vatsrahul1001 added a commit that referenced this pull request Aug 5, 2026
)

A release pins the providers as published on PyPI. Building them from the sources
first puts a locally built wheel where the resolution can find it, and anything
answered locally is then left out of the constraints - dropping the very pin the
release needed. It also makes the release depend on the provider build toolchain
working, which is what broke 3.3.1rc1: flit removed --no-setup-py and package
preparation failed before any resolution ran.

(cherry picked from commit c37ba12)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants