You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kaxil Naik (Jira)" <ji...@apache.org> on 2019/11/23 16:36:00 UTC
[jira] [Resolved] (AIRFLOW-6020) KubernetesExecutor iteritems()
exception when using Python 3.*
[ 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)