gonzalodiaz commented on issue #3522: [AIRFLOW-2646] Fix setup.py not to install snakebite on Python3 URL: https://github.com/apache/airflow/pull/3522#issuecomment-512873777 Since today I'm experiencing an issue with snakebite on version `1.10.3`. ``` from airflow.operators.sensors import ExternalTaskSensor File "/usr/local/lib/python3.6/site-packages/airflow/operators/sensors.py", line 35, in <module> from airflow.sensors.hdfs_sensor import HdfsSensor as HdfsSensorImp File "/usr/local/lib/python3.6/site-packages/airflow/sensors/hdfs_sensor.py", line 25, in <module> from airflow.hooks.hdfs_hook import HDFSHook File "/usr/local/lib/python3.6/site-packages/airflow/hooks/hdfs_hook.py", line 24, in <module> from snakebite.client import Client, HAClient, Namenode, AutoConfigClient File "/usr/local/lib/python3.6/site-packages/snakebite/client.py", line 1473 baseTime = min(time * (1L << retries), cap); ``` I built my Python 3 environment and `snakebite-2.11.0` is there. After installing snakebite from my production environment everything started working fine.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
