airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaxil Naik (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (AIRFLOW-6020) KubernetesExecutor iteritems() exception when using Python 3.*
Date Sat, 23 Nov 2019 16:36:00 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-6020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kaxil Naik resolved AIRFLOW-6020.
---------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> KubernetesExecutor iteritems() exception when using Python 3.*
> --------------------------------------------------------------
>
>                 Key: AIRFLOW-6020
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6020
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: executor-kubernetes, executors
>    Affects Versions: 1.10.6
>            Reporter: Eugene Serdyuk
>            Assignee: Eugene Serdyuk
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: logs.txt
>
>
> When running scheduler using {{KubernetesExecutor}} with Python 3.7 the exception occurs
due to the use of {{iteritems()}} within dictionaries.
> {{iteritems()}} found:
> - {{airflow/executors/kubernetes_executor.py}} line 277
> - {{airflow/executors/kubernetes_executor.py}} line 655
>  
> TODO: use {{six.iteritems}} function.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message