You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/07 09:42:58 UTC

[GitHub] [airflow] potiuk commented on issue #22689: HDFS provider causes TypeError: __init__() got an unexpected keyword argument 'encoding'

potiuk commented on issue #22689:
URL: https://github.com/apache/airflow/issues/22689#issuecomment-1091438353

   I think we know the problem already. https://pypi.org/project/snakebite-py3/  which is the dependency of hdfs has this as dependencies:
   
   ```
   install_requires = [
       'protobuf>2.4.1',
       'argparse'
   ]
   ```
   
   Which means that it pulls the "argparse" project from PyPI.
   
   It is so old, that even the simple json interface does not show the dependency - we had to look it up in setup.py. 
   
   I think the only possibility is to vendor-in the snakebite-py3 code. 
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org