Skip to content

Run provider compatibility tests against release branch tips - #69701

Closed
Pyasma wants to merge 1 commit into
apache:mainfrom
Pyasma:Fix_#54454
Closed

Pyasma wants to merge 1 commit into
apache:mainfrom
Pyasma:Fix_#54454

Conversation

@Pyasma

@Pyasma Pyasma commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Provider compatibility tests currently run only against released Airflow
versions, so breakages against the next patchlevel are only discovered after
that patchlevel ships. This adds compatibility test entries that install
Airflow from the tips of the active release branches
(apache/airflow:v3-2-test and apache/airflow:v3-3-test).

To make that possible, every entry in PROVIDERS_COMPATIBILITY_TESTS_MATRIX
now carries its own airflow-constraints-reference, instead of the workflow
deriving constraints-${AIRFLOW_VERSION}: branch-tip entries point at the
branch constraints (constraints-3-2, constraints-3-3) while released
entries keep their released constraints tag. The Download airflow package: wheel step is skipped for branch-tip entries, since there is no PyPI wheel
for a branch.

Notes for reviewers on scripts/in_container/install_airflow_and_providers.py:

  • UI assets are no longer compiled for a VCS install when distributions come
    from dist — compat runs never serve the UI, and the compile step is
    expensive. Happy to move this behind a dedicated flag if preferred.
  • When Airflow was already installed in the constraints step, it is no longer
    re-added to the combined provider install. This avoids rebuilding the VCS
    checkout, but it also drops the version pin that keeps the resolver from
    upgrading Airflow while providers are installed — feedback welcome on
    whether the pin should be kept for the branch-tip case.

closes: #54454

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Claude Code (Opus 5) following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments.

Compatibility tests only cover released Airflow versions, so provider
regressions against the next patchlevel are found only after it ships.
Testing the tips of the active release branches surfaces them earlier.

Each matrix entry now carries its own constraints reference, so a
branch-tip entry can point at the branch constraints instead of the
constraints tag of a released version.

closes: apache#54454
@Pyasma Pyasma changed the title Fix_54454 Run provider compatibility tests against release branch tips Aug 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Nov 20, 2026
@github-actions github-actions Bot closed this Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add compat tests against "v3-X-test" branch tip for providers.

2 participants