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 2018/08/08 23:07:17 UTC

[GitHub] r39132 commented on issue #3723: [AIRFLOW-2876] Update Tenacity to 4.12

r39132 commented on issue #3723: [AIRFLOW-2876] Update Tenacity to 4.12
URL: https://github.com/apache/incubator-airflow/pull/3723#issuecomment-411582062
 
 
   @Fokko 
   I ran setup.py install on a branch based on this PR and I am getting exceptions when starting the scheduler:
   ```
   sianand@LM-SJN-21002367:~/Projects/airflow_incubator $ pip freeze | grep tenacity
   tenacity==4.12.0
   
   [2018-08-08 16:06:35,130] {models.py:368} ERROR - Failed to import: /usr/local/lib/python3.6/site-packages/apache_airflow-2.0.0.dev0+incubating-py3.6.egg/airflow/example_dags/example_http_operator.py
   Traceback (most recent call last):
     File "/usr/local/lib/python3.6/site-packages/apache_airflow-2.0.0.dev0+incubating-py3.6.egg/airflow/models.py", line 365, in process_file
       m = imp.load_source(mod_name, filepath)
     File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 172, in load_source
       module = _load(spec)
     File "<frozen importlib._bootstrap>", line 684, in _load
     File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
     File "<frozen importlib._bootstrap_external>", line 678, in exec_module
     File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
     File "/usr/local/lib/python3.6/site-packages/apache_airflow-2.0.0.dev0+incubating-py3.6.egg/airflow/example_dags/example_http_operator.py", line 27, in <module>
       from airflow.operators.http_operator import SimpleHttpOperator
     File "/usr/local/lib/python3.6/site-packages/apache_airflow-2.0.0.dev0+incubating-py3.6.egg/airflow/operators/http_operator.py", line 21, in <module>
       from airflow.hooks.http_hook import HttpHook
     File "/usr/local/lib/python3.6/site-packages/apache_airflow-2.0.0.dev0+incubating-py3.6.egg/airflow/hooks/http_hook.py", line 23, in <module>
       import tenacity
     File "/usr/local/lib/python3.6/site-packages/tenacity-4.12.0-py3.6.egg/tenacity/__init__.py", line 21, in <module>
       import asyncio
     File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/__init__.py", line 21, in <module>
       from .base_events import *
     File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/base_events.py", line 17, in <module>
       import concurrent.futures
     File "/usr/local/lib/python3.6/site-packages/concurrent/futures/__init__.py", line 8, in <module>
       from concurrent.futures._base import (FIRST_COMPLETED,
     File "/usr/local/lib/python3.6/site-packages/concurrent/futures/_base.py", line 381
       raise exception_type, self._exception, self._traceback
                           ^
   SyntaxError: invalid syntax
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services