Fokko edited a comment on issue #5020: [AIRFLOW-4200][AIP-3-subtask-4] Remove 
all __future__ imports
URL: https://github.com/apache/airflow/pull/5020#issuecomment-483038193
 
 
   It looks like the K8s tests still use Python 2.7:
   ```
   + airflow initdb
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 21, in <module>
       from airflow import configuration
     File "/usr/local/lib/python2.7/dist-packages/airflow/__init__.py", line 
36, in <module>
       from airflow import settings, configuration as conf
     File "/usr/local/lib/python2.7/dist-packages/airflow/settings.py", line 
32, in <module>
       from airflow.utils.sqlalchemy import setup_event_handlers
     File "/usr/local/lib/python2.7/dist-packages/airflow/utils/sqlalchemy.py", 
line 22, in <module>
       import json
     File "/usr/local/lib/python2.7/dist-packages/airflow/utils/json.py", line 
27, in <module>
       class AirflowJsonEncoder(json.JSONEncoder):
   AttributeError: 'module' object has no attribute 'JSONEncoder'
   ```

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

Reply via email to