This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new db592bc2a00 Migrate common provider to use 
airflow.sdk.configuration.conf (#59989)
db592bc2a00 is described below

commit db592bc2a00d6c4a9dff78845aadce477a06133f
Author: Ankit Chaurasia <[email protected]>
AuthorDate: Thu Jan 1 05:21:32 2026 +0545

    Migrate common provider to use airflow.sdk.configuration.conf (#59989)
---
 providers/common/io/src/airflow/providers/common/io/xcom/backend.py | 2 +-
 providers/common/sql/pyproject.toml                                 | 2 +-
 providers/common/sql/src/airflow/providers/common/sql/hooks/sql.py  | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/providers/common/io/src/airflow/providers/common/io/xcom/backend.py 
b/providers/common/io/src/airflow/providers/common/io/xcom/backend.py
index 971704f37f2..43fbfc5b119 100644
--- a/providers/common/io/src/airflow/providers/common/io/xcom/backend.py
+++ b/providers/common/io/src/airflow/providers/common/io/xcom/backend.py
@@ -25,7 +25,7 @@ from urllib.parse import urlsplit
 
 import fsspec.utils
 
-from airflow.configuration import conf
+from airflow.providers.common.compat.sdk import conf
 from airflow.providers.common.io.version_compat import AIRFLOW_V_3_0_PLUS
 from airflow.utils.json import XComDecoder, XComEncoder
 
diff --git a/providers/common/sql/pyproject.toml 
b/providers/common/sql/pyproject.toml
index 86944df214e..6d30986489f 100644
--- a/providers/common/sql/pyproject.toml
+++ b/providers/common/sql/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>=2.11.0",
-    "apache-airflow-providers-common-compat>=1.11.0",
+    "apache-airflow-providers-common-compat>=1.11.0",  # use next version
     "sqlparse>=0.5.1",
     "more-itertools>=9.0.0",
     # The methodtools dependency is necessary since the introduction of 
dialects:
diff --git a/providers/common/sql/src/airflow/providers/common/sql/hooks/sql.py 
b/providers/common/sql/src/airflow/providers/common/sql/hooks/sql.py
index b4553017246..393302de1b9 100644
--- a/providers/common/sql/src/airflow/providers/common/sql/hooks/sql.py
+++ b/providers/common/sql/src/airflow/providers/common/sql/hooks/sql.py
@@ -33,10 +33,9 @@ from sqlalchemy import create_engine, inspect
 from sqlalchemy.engine import make_url
 from sqlalchemy.exc import ArgumentError, NoSuchModuleError
 
-from airflow.configuration import conf
 from airflow.exceptions import AirflowOptionalProviderFeatureException, 
AirflowProviderDeprecationWarning
 from airflow.providers.common.compat.module_loading import import_string
-from airflow.providers.common.compat.sdk import AirflowException, BaseHook
+from airflow.providers.common.compat.sdk import AirflowException, BaseHook, 
conf
 from airflow.providers.common.sql.dialects.dialect import Dialect
 from airflow.providers.common.sql.hooks import handlers
 

Reply via email to