Alexandrmrn commented on issue #30221:
URL: https://github.com/apache/airflow/issues/30221#issuecomment-1479233605
update wheel file apache_airflow_providers_samba-4.1.0-py3-none-any
set this code
<...from smbclient import link
@wraps(link)
def link(self, src, dst, follow_symlinks=True):
return link( ...>
Then find this problem and install
File
"/home/airflow/.local/lib/python3.7/site-packages/airflow/providers/samba/hooks/samba.py",
line 26, in <module>
from smbclient import link
ImportError: cannot import name 'link' from 'smbclient'
(/home/airflow/.local/bin/smbclient.py)
samba.py checking wrong smbclient library:
this path (/home/airflow/.local/bin/smbclient.py) really havent link
attrubute
but this path /home/airflow/.local/lib/python3.7/site-packages/smbclient/
__init__.py have it
--
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]