[
https://issues.apache.org/jira/browse/AIRFLOW-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822534#comment-16822534
]
ASF subversion and git services commented on AIRFLOW-4296:
----------------------------------------------------------
Commit 0ac501faa976a3bdc91ad9455c8de83c6b4abdd0 in airflow's branch
refs/heads/master from Jiajie Zhong
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=0ac501f ]
[AIRFLOW-4296] Remove py2 in ci process (#5090)
> 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)