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 2019/01/30 11:58:52 UTC

[GitHub] yiheng commented on issue #4468: [AIRFLOW-3662] Add dependency for Enum

yiheng commented on issue #4468: [AIRFLOW-3662] Add dependency for Enum
URL: https://github.com/apache/airflow/pull/4468#issuecomment-458918721
 
 
   Looks like this will break airflow in python 3.6. Any idea?
   
   ```
   Failed to import the site module
   Traceback (most recent call last):
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py", line 544, in <module>
       main()
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py", line 530, in main
       known_paths = addusersitepackages(known_paths)
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py", line 282, in addusersitepackages
       user_site = getusersitepackages()
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py", line 258, in getusersitepackages
       user_base = getuserbase() # this will also set USER_BASE
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py", line 248, in getuserbase
       USER_BASE = get_config_var('userbase')
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/sysconfig.py", line 601, in get_config_var
       return get_config_vars().get(name)
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/sysconfig.py", line 580, in get_config_vars
       import _osx_support
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/_osx_support.py", line 4, in <module>
       import re
     File "/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/re.py", line 142, in <module>
       class RegexFlag(enum.IntFlag):
   AttributeError: module 'enum' has no attribute 'IntFlag'
   ```

----------------------------------------------------------------
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