Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 15, 2025

The #50650 broke cncf.kubernetes for Airflow 2 - it removed a method that was not used in Airflow 3 but it turns out that those methods were also used in Airflow 2. We revert the change but also we add skipif for Airflow 3 to skip the test on Airflow 3 and to mark it essentially for removal when we drop compatibility with Airflow 2.

Revert "Remove unused db method in k8s provider (#49186)"

This reverts commit 0ca0f17.


^ 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.

@boring-cyborg boring-cyborg bot added area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues labels May 15, 2025
@potiuk potiuk force-pushed the revert-rendering-method-for-k8s-template branch from 751ad02 to 0414f0a Compare May 15, 2025 15:04
@jedcunningham
Copy link
Member

This mix of core and provider side code for k8s is painful haha.

The apache#50650 broke cncf.kubernetes for Airflow 2 - it removed a method
that was not used in Airflow 3 but it turns out that those methods were
also used in Airflow 2. We revert the change but also we add skipif
for Airflow 3 to skip the test on Airflow 3 and to mark it essentially
for removal when we drop compatibility with Airflow 2.

Revert "Remove unused db method in k8s provider (apache#49186)"

This reverts commit 0ca0f17.
@potiuk potiuk force-pushed the revert-rendering-method-for-k8s-template branch from 75fd11c to 6ce720e Compare May 15, 2025 19:49
@potiuk potiuk merged commit 65a5b1b into apache:main May 15, 2025
76 checks passed
@potiuk potiuk deleted the revert-rendering-method-for-k8s-template branch May 15, 2025 23:50
ayush3singh pushed a commit to ayush3singh/airflow that referenced this pull request May 17, 2025
The apache#50650 broke cncf.kubernetes for Airflow 2 - it removed a method
that was not used in Airflow 3 but it turns out that those methods were
also used in Airflow 2. We revert the change but also we add skipif
for Airflow 3 to skip the test on Airflow 3 and to mark it essentially
for removal when we drop compatibility with Airflow 2.

Revert "Remove unused db method in k8s provider (apache#49186)"

This reverts commit 0ca0f17.
ayush3singh pushed a commit to ayush3singh/airflow that referenced this pull request May 17, 2025
The apache#50650 broke cncf.kubernetes for Airflow 2 - it removed a method
that was not used in Airflow 3 but it turns out that those methods were
also used in Airflow 2. We revert the change but also we add skipif
for Airflow 3 to skip the test on Airflow 3 and to mark it essentially
for removal when we drop compatibility with Airflow 2.

Revert "Remove unused db method in k8s provider (apache#49186)"

This reverts commit 0ca0f17.
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
The apache#50650 broke cncf.kubernetes for Airflow 2 - it removed a method
that was not used in Airflow 3 but it turns out that those methods were
also used in Airflow 2. We revert the change but also we add skipif
for Airflow 3 to skip the test on Airflow 3 and to mark it essentially
for removal when we drop compatibility with Airflow 2.

Revert "Remove unused db method in k8s provider (apache#49186)"

This reverts commit 0ca0f17.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers provider:cncf-kubernetes Kubernetes (k8s) provider related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants