Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6020

KubernetesExecutor iteritems() exception when using Python 3.*

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.10.6
    • Fix Version/s: 2.0.0
    • Labels:
      None

      Description

      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.

        Attachments

        1. logs.txt
          1 kB
          Eugene Serdyuk

          Issue Links

            Activity

              People

              • Assignee:
                eserdk Eugene Serdyuk
                Reporter:
                eserdk Eugene Serdyuk
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: