[
https://issues.apache.org/jira/browse/AIRFLOW-6020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980808#comment-16980808
]
ASF GitHub Bot commented on AIRFLOW-6020:
-----------------------------------------
kaxil commented on pull request #6614: [AIRFLOW-6020] fix python 3
KubernetesExecutor iteritems exception
URL: https://github.com/apache/airflow/pull/6614
----------------------------------------------------------------
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]
> 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
> 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)