This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 4476b59f237 [v3-0-test] Add keycloak to providers removed when running
Airflow 2 (#52442) (#52444)
4476b59f237 is described below
commit 4476b59f2373552ee7dfde6d79ffcbe3aa8e2c55
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Jun 29 09:56:04 2025 +0200
[v3-0-test] Add keycloak to providers removed when running Airflow 2
(#52442) (#52444)
We we are using "--use-airflow-version" and use Airlfow 2 we uninstall
all providers that are Airflow 2 only mounted from sources, because
Provider's Manager (correctly) fails if Airflow 3 provider is
installed. Recently added keycloak was missing from the list.
(cherry picked from commit 508fac143c6bafadf845b90b46d1b60bf4e4f515)
Co-authored-by: Jarek Potiuk <[email protected]>
---
scripts/in_container/install_airflow_and_providers.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/in_container/install_airflow_and_providers.py
b/scripts/in_container/install_airflow_and_providers.py
index 05a437178b9..42d9782cd30 100755
--- a/scripts/in_container/install_airflow_and_providers.py
+++ b/scripts/in_container/install_airflow_and_providers.py
@@ -675,6 +675,7 @@ def install_airflow_and_providers(
# providers from the installed separate source packages
console.print("[yellow]Uninstalling Airflow-3 only providers\n")
providers_to_uninstall_for_airflow_2 = [
+ "apache-airflow-providers-keycloak",
"apache-airflow-providers-common-messaging",
"apache-airflow-providers-git",
]