airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] (AIRFLOW-821) Scheduler dagbag importing not Py3 compatible
Date Tue, 31 Jan 2017 18:56:51 GMT

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

ASF subversion and git services commented on AIRFLOW-821:
---------------------------------------------------------

Commit 98e3d6ffcf78c2503cec32c1403d3e1c6280e9d8 in incubator-airflow's branch refs/heads/v1-8-test
from [~bolke]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=98e3d6f ]

[AIRFLOW-821] Fix py3 compatibility

iteritems() does not exist in py3.

Closes #2039 from bolkedebruin/AIRFLOW-821

(cherry picked from commit fbb59b94467d7e684620570407698f509b073e47)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>


> Scheduler dagbag importing not Py3 compatible
> ---------------------------------------------
>
>                 Key: AIRFLOW-821
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-821
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.8.0b5
>         Environment: Python 3.4.4
>            Reporter: Szymon Matejczyk
>            Priority: Blocker
>
> Function {{update_import_errors}} in scheduler (https://github.com/apache/incubator-airflow/blob/master/airflow/jobs.py#L694)
in not Py3 compatible (using {{iteritems}} instead of {{items}}).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message