Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-8102

flake8 run on master build uses Python 3.5 not 3.6

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.11.1
    • Component/s: Build & CI
    • Labels:
      None

      Description

      SI tests are run using Makefile and dependencies defined in pipfile (which correctly support python 3.6). But on a master build, we run flake8 with incorrect 3.5.3 version of python.

      Tested here https://github.com/mesosphere/marathon/pull/6043
      https://jenkins.mesosphere.com/service/jenkins/job/marathon-pipelines/job/PR-6043/1/console
      output is

      sudo -E flake8 --version
      3.5.0 (mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) CPython 3.5.3 on Linux
      

      This means that we can't use Python 3.6 features inside our tests (because the build would fail).

      Acceptance criteria

      flake8 --version run from a master pipeline will return python 3.6 instead of 3.5

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alenavarkockova Alena Varkockova
                Reporter:
                alenavarkockova Alena Varkockova
                Team:
                Orchestration Team
                Watchers:
                Alena Varkockova, Karsten Jeschkies
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: