From 2458c25bbdc248472e06500ced7f70afaf4627b7 Mon Sep 17 00:00:00 2001 From: Yuseok Jo Date: Tue, 24 Mar 2026 19:39:57 +0900 Subject: [PATCH 1/2] Use compat sdk conf import in Informatica provider --- providers/informatica/pyproject.toml | 2 +- .../informatica/src/airflow/providers/informatica/hooks/edc.py | 2 +- .../src/airflow/providers/informatica/plugins/informatica.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/informatica/pyproject.toml b/providers/informatica/pyproject.toml index 63602b3dfd2ae..dd093b4328dd9 100644 --- a/providers/informatica/pyproject.toml +++ b/providers/informatica/pyproject.toml @@ -59,7 +59,7 @@ requires-python = ">=3.10" # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build`` dependencies = [ "apache-airflow>=3.0.0", - "apache-airflow-providers-common-compat>=1.12.0", + "apache-airflow-providers-common-compat>=1.12.0", # use next version "apache-airflow-providers-http>=4.13.2" ] diff --git a/providers/informatica/src/airflow/providers/informatica/hooks/edc.py b/providers/informatica/src/airflow/providers/informatica/hooks/edc.py index 808707e5e72e5..c6cac88f7591d 100644 --- a/providers/informatica/src/airflow/providers/informatica/hooks/edc.py +++ b/providers/informatica/src/airflow/providers/informatica/hooks/edc.py @@ -25,7 +25,7 @@ from requests.exceptions import RequestException -from airflow.configuration import conf +from airflow.providers.common.compat.sdk import conf from airflow.providers.http.hooks.http import HttpHook if TYPE_CHECKING: diff --git a/providers/informatica/src/airflow/providers/informatica/plugins/informatica.py b/providers/informatica/src/airflow/providers/informatica/plugins/informatica.py index e81ae5e777440..863fa0a800cf3 100644 --- a/providers/informatica/src/airflow/providers/informatica/plugins/informatica.py +++ b/providers/informatica/src/airflow/providers/informatica/plugins/informatica.py @@ -16,8 +16,8 @@ # under the License. from __future__ import annotations -from airflow.configuration import conf from airflow.plugins_manager import AirflowPlugin +from airflow.providers.common.compat.sdk import conf is_disabled = conf.getboolean("informatica", "listener_disabled", fallback=False) # Conditional imports - only load expensive dependencies when plugin is enabled From 88ad606ce4791f12e8fcf619a1c3d76f6bcd3f18 Mon Sep 17 00:00:00 2001 From: Yuseok Jo Date: Wed, 25 Mar 2026 21:57:02 +0900 Subject: [PATCH 2/2] Remove common-compat "use next version" comment --- providers/informatica/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/informatica/pyproject.toml b/providers/informatica/pyproject.toml index e499b3fc3c565..f8942e50c575e 100644 --- a/providers/informatica/pyproject.toml +++ b/providers/informatica/pyproject.toml @@ -60,7 +60,7 @@ requires-python = ">=3.10" # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build`` dependencies = [ "apache-airflow>=3.0.0", - "apache-airflow-providers-common-compat>=1.12.0", # use next version + "apache-airflow-providers-common-compat>=1.12.0", "apache-airflow-providers-http>=4.13.2" ]