diff --git a/pipelines/azure-build.yaml b/pipelines/azure-build.yaml index efbd7ba8f..05b20da92 100644 --- a/pipelines/azure-build.yaml +++ b/pipelines/azure-build.yaml @@ -88,6 +88,11 @@ stages: steps: - download: current artifact: dist + # Make sure a usable version of python is used for the deployment + - task: UsePythonVersion@0 + displayName: Set python version + inputs: + versionSpec: '3.8' - script: | set -xv # Echo commands before they are run sudo env "PATH=$PATH" python -m pip install --no-cache-dir twine