airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] r39132 edited a comment on issue #3723: [AIRFLOW-2876] Update Tenacity to 4.12
Date Wed, 08 Aug 2018 23:08:08 GMT
r39132 edited a comment 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.
   Here's the version of tenacity that was installed:
   ```
   sianand@LM-SJN-21002367:~/Projects/airflow_incubator $ pip freeze | grep tenacity
   tenacity==4.12.0
   ```
   When I run the scheduler, I see:
   ```
   
   [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

Mime
View raw message