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 0662ee0e802 Migrate ssh provider to use airflow.sdk.configuration.conf
(#59981)
0662ee0e802 is described below
commit 0662ee0e802cac4624289eaad7e4108ff6da4af4
Author: Ankit Chaurasia <[email protected]>
AuthorDate: Thu Jan 1 04:23:45 2026 +0545
Migrate ssh provider to use airflow.sdk.configuration.conf (#59981)
---
providers/ssh/pyproject.toml | 2 +-
providers/ssh/src/airflow/providers/ssh/operators/ssh.py | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/providers/ssh/pyproject.toml b/providers/ssh/pyproject.toml
index 723671ff6b4..35faea62138 100644
--- a/providers/ssh/pyproject.toml
+++ b/providers/ssh/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
# TODO: Bump to >= 4.0.0 once
https://github.com/apache/airflow/issues/54079 is handled
"paramiko>=2.9.0,<4.0.0",
"sshtunnel>=0.3.2",
diff --git a/providers/ssh/src/airflow/providers/ssh/operators/ssh.py
b/providers/ssh/src/airflow/providers/ssh/operators/ssh.py
index cd49d9145b9..9ae09d6cbae 100644
--- a/providers/ssh/src/airflow/providers/ssh/operators/ssh.py
+++ b/providers/ssh/src/airflow/providers/ssh/operators/ssh.py
@@ -22,8 +22,7 @@ from collections.abc import Container, Sequence
from functools import cached_property
from typing import TYPE_CHECKING
-from airflow.configuration import conf
-from airflow.providers.common.compat.sdk import AirflowException,
AirflowSkipException, BaseOperator
+from airflow.providers.common.compat.sdk import AirflowException,
AirflowSkipException, BaseOperator, conf
from airflow.providers.ssh.hooks.ssh import SSHHook
try: