From 319aee73f2b519cf1e17a3e4c7a4aa854506cbe4 Mon Sep 17 00:00:00 2001 From: mayeut Date: Sat, 9 Nov 2019 11:19:02 +0100 Subject: [PATCH] Force python 3.8 on Azure --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6d67dfbb..72ff2b85 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,6 +3,8 @@ jobs: pool: {vmImage: 'Ubuntu-18.04'} steps: - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' - bash: | python -m pip install -r requirements-dev.txt python ./bin/run_tests.py @@ -11,6 +13,8 @@ jobs: pool: {vmImage: 'macOS-10.13'} steps: - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' - bash: | python -m pip install -r requirements-dev.txt python ./bin/run_tests.py @@ -19,6 +23,8 @@ jobs: pool: {vmImage: 'vs2017-win2016'} steps: - task: UsePythonVersion@0 + inputs: + versionSpec: '3.8' - script: choco install vcpython27 -f -y displayName: Install Visual C++ for Python 2.7 - bash: |