[ 
https://issues.apache.org/jira/browse/AIRFLOW-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822533#comment-16822533
 ] 

ASF GitHub Bot commented on AIRFLOW-4296:
-----------------------------------------

potiuk commented on pull request #5090: [AIRFLOW-4296][AIP-3-subtask-18] Remove 
py2 in ci process
URL: https://github.com/apache/airflow/pull/5090
 
 
   
 
----------------------------------------------------------------
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]


> Remove py2 in ci process 
> -------------------------
>
>                 Key: AIRFLOW-4296
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4296
>             Project: Apache Airflow
>          Issue Type: Sub-task
>          Components: ci
>    Affects Versions: 1.10.2
>            Reporter: zhongjiajie
>            Assignee: zhongjiajie
>            Priority: Major
>              Labels: patch
>
> We still have py2 in our CI process, and this will cause error when in AIP-3 
> PR, we should remove that
>  
> +Even+ though sub-task-1 merge, still error like below
> {code:java}
> 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'
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to