Dev-iL opened a new issue, #64258:
URL: https://github.com/apache/airflow/issues/64258

   ### Apache Airflow Provider(s)
   
   ssh
   
   ### Versions of Apache Airflow Providers
   
   ```
   apache-airflow-providers-amazon==9.18.1
   apache-airflow-providers-common-compat==1.14.2rc1
   apache-airflow-providers-common-io==1.7.0
   apache-airflow-providers-common-sql==1.30.1
   apache-airflow-providers-ftp==3.14.0
   apache-airflow-providers-git==0.3.0rc1
   apache-airflow-providers-google==19.4.0
   apache-airflow-providers-http==5.6.1
   apache-airflow-providers-postgres==6.5.1
   apache-airflow-providers-sftp==5.5.1
   apache-airflow-providers-slack==9.6.1
   apache-airflow-providers-smtp==2.4.1
   apache-airflow-providers-ssh==4.2.1
   apache-airflow-providers-standard==1.12.2rc
   ```
   
   ### Apache Airflow version
   
   3.2.0b2
   
   ### Operating System
   
   Rocky Linux 9.6 (Blue Onyx)
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   Fresh airflow venv install on 3.14.
   
   ### What happened
   
   ```none
       from airflow.providers.sftp.hooks.sftp import SFTPHook
   
.venv314/lib/python3.14/site-packages/airflow/providers/sftp/hooks/sftp.py:42: 
in <module>
       from airflow.providers.ssh.hooks.ssh import SSHHook
   .venv314/lib/python3.14/site-packages/airflow/providers/ssh/hooks/ssh.py:33: 
in <module>
       from sshtunnel import SSHTunnelForwarder
   E     File 
"/home/IDM/iromm/repositories/ops/.venv314/lib/python3.14/site-packages/sshtunnel.py",
 line 1040
   E       return (ssh_host,
   E       ^^^^^^^^^^^^^^^^^
   E   SyntaxError: 'return' in a 'finally' block
   ```
   
   ### What you think should happen instead
   
   Import should succeed.
   
   ### How to reproduce
   
   On python 3.14, 
   
   ```python
   from airflow.providers.sftp.hooks.sftp import SFTPHook
   ```
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to