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

jscheffl 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 a16126d7174 Migrate presto provider to use 
airflow.sdk.configuration.conf (#59985)
a16126d7174 is described below

commit a16126d71742b971bd5d09dccd1cb5b420b1e91f
Author: Ankit Chaurasia <[email protected]>
AuthorDate: Thu Jan 1 04:20:28 2026 +0545

    Migrate presto provider to use airflow.sdk.configuration.conf (#59985)
---
 providers/presto/pyproject.toml                               | 2 +-
 providers/presto/src/airflow/providers/presto/hooks/presto.py | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/providers/presto/pyproject.toml b/providers/presto/pyproject.toml
index c87ca06fcf1..0adfca0cd3c 100644
--- a/providers/presto/pyproject.toml
+++ b/providers/presto/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.10.1",
+    "apache-airflow-providers-common-compat>=1.10.1",  # use next version
     "apache-airflow-providers-common-sql>=1.26.0",
     "presto-python-client>=0.8.4",
     'pandas>=2.1.2; python_version <"3.13"',
diff --git a/providers/presto/src/airflow/providers/presto/hooks/presto.py 
b/providers/presto/src/airflow/providers/presto/hooks/presto.py
index 79d5e956226..c0c3f75d5b9 100644
--- a/providers/presto/src/airflow/providers/presto/hooks/presto.py
+++ b/providers/presto/src/airflow/providers/presto/hooks/presto.py
@@ -26,9 +26,8 @@ from deprecated import deprecated
 from prestodb.exceptions import DatabaseError
 from prestodb.transaction import IsolationLevel
 
-from airflow.configuration import conf
 from airflow.exceptions import AirflowOptionalProviderFeatureException, 
AirflowProviderDeprecationWarning
-from airflow.providers.common.compat.sdk import AirflowException
+from airflow.providers.common.compat.sdk import AirflowException, conf
 from airflow.providers.common.sql.hooks.sql import DbApiHook
 from airflow.providers.presto.version_compat import AIRFLOW_V_3_0_PLUS
 

Reply via email to