potiuk commented on issue #3522: [AIRFLOW-2646] Fix setup.py not to install snakebite on Python3 URL: https://github.com/apache/airflow/pull/3522#issuecomment-512878131 From what I know snakebite does not support python 3. See this issue: https://github.com/spotify/snakebite/issues/62 . Spotify stopped maintaining it. From the thread - there is a fork https://pypi.org/project/snakebite-py3/ that is supposed to address some py3 problems, but I am not sure what is the quality (people from internet archive created the fork and maintained it recently). Maybe you could see if replacing the original snakebite with the fork fixes the problem? And if more people confirm it, we could simply use the snakebite-py3 instead the original snakebite? J. On Thu, Jul 18, 2019 at 5:47 PM Gonzalo Diaz <[email protected]> wrote: > 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. > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/apache/airflow/pull/3522?email_source=notifications&email_token=AAERMI2DX3RX7IN7XYBKZULQACGB3A5CNFSM4FFXJJZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2I5KMI#issuecomment-512873777>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AAERMI24WDJZA7E7RICHNADQACGB3ANCNFSM4FFXJJZQ> > . > -- Jarek Potiuk Polidea <https://www.polidea.com/> | Principal Software Engineer M: +48 660 796 129 <+48660796129> [image: Polidea] <https://www.polidea.com/>
---------------------------------------------------------------- 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
