Skip to content

apache-airflow-providers-sftp 5.3.2 defines an insufficient version of dependency on apache-airflow-providers-ssh #54024

@foldvari

Description

@foldvari

Apache Airflow Provider(s)

sftp

Versions of Apache Airflow Providers

apache-airflow-providers-sftp 5.3.2 defines an insufficient version of dependency on apache-airflow-providers-ssh
Defined dependency: apache-airflow-providers-ssh>=2.1.0
But it relies on keyword argument 'host_proxy_cmd' which was introduced in 4.0.0 only (https://airflow.apache.org/docs/apache-airflow-providers-ssh/stable/changelog.html#id6)

Apache Airflow version

2.10.4

Operating System

Linux

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

What happened

Updated apache-airflow-providers-sftp to 5.3.2 and kept apache-airflow-providers-ssh 3.14.0. Attepting to use SFTPHook but got this error:
File "....../airflow/providers/sftp/hooks/sftp.py", line 123, in init
super().init(*args, **kwargs)
TypeError: SSHHook.init() got an unexpected keyword argument 'host_proxy_cmd'
python-BaseException

What you think should happen instead

No response

How to reproduce

Install apache-airflow-providers-sftp to 5.3.2 and apache-airflow-providers-ssh 3.14.0.
Attempt to use SFTPHook.

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions