From c20bef2a2b9fbf1cdc3971073893f27871f8d5bc Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Thu, 26 Nov 2020 14:09:17 +0100 Subject: [PATCH] Add hack to install wheel for python 3.5 in linux --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c44b4a8c7..39e0af892 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -38,6 +38,7 @@ jobs: Python35Linux: imageName: 'ubuntu-16.04' python.version: '3.5' + os: linux Python35Windows: imageName: 'vs2017-win2016' python.version: '3.5' @@ -108,6 +109,11 @@ jobs: pip uninstall -y -r installed.txt displayName: 'Uninstall all packages' + - script: | + pip install wheel + condition: and(eq(variables['os'], 'linux'), eq(variables['python.version'], '3.5')) + displayName: 'Hack: install wheel for python 3.5' + - bash: | SDIST=$(python -c "import os;print(os.listdir('./dist')[-1])" 2>&1) pip install dist/$SDIST