Skip to content

[v3-0-test] Remove special case for building PROD image in non-main b…#50118

Merged
potiuk merged 1 commit intoapache:v3-0-testfrom
potiuk:backport-9deb2a7-v3-0-test
May 2, 2025
Merged

[v3-0-test] Remove special case for building PROD image in non-main b…#50118
potiuk merged 1 commit intoapache:v3-0-testfrom
potiuk:backport-9deb2a7-v3-0-test

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 2, 2025

…ranch (#50115)

When we removed "chicken-egg-providers" from the build in #49799 we should be able now to build PROD image in v3*test branch without special case of only using PyPI providers. This should work because in v3-*test branch we automatically detect (by presence of relesed tag) whether we should build provider from sources or use it from PyPI. In normal circumstances, we would need use providers fro PyPI, but sometimes (For example for 3.0.1) we need to use some providers from sources before they get released (for example common.messaging 1.0.1 that is the lowest possible common.messaging for Airflow 3.0.1.

This PR removes that special case and switches to the same method of building PROD image in main and in release branch. (cherry picked from commit 9deb2a7)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

…ranch (apache#50115)

When we removed "chicken-egg-providers" from the build in apache#49799 we
should be able now to build PROD image in v3*test branch without special
case of only using PyPI providers. This should work because in
v3-*test branch we automatically detect (by presence of relesed
tag) whether we should build provider from sources or use it from
PyPI. In normal circumstances, we would need use providers fro
PyPI, but sometimes (For example for 3.0.1) we need to use some
providers from sources before they get released (for example
common.messaging 1.0.1 that is the lowest possible common.messaging
for Airflow 3.0.1.

This PR removes that special case and switches to the same method
of building PROD image in main and in release branch.
(cherry picked from commit 9deb2a7)

Co-authored-by: Jarek Potiuk <[email protected]>
@potiuk potiuk requested review from ashb and gopidesupavan as code owners May 2, 2025 10:46
@potiuk potiuk merged commit 3880c3c into apache:v3-0-test May 2, 2025
74 checks passed
@potiuk potiuk deleted the backport-9deb2a7-v3-0-test branch May 2, 2025 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant