diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7112be7e3c9f..3e56afdc60d1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -248,7 +248,7 @@ stages: git submodule update --init displayName: 'Fetch submodules' - script: | - python -m pip install --upgrade pip "setuptools==59.6.0" wheel + python -m pip install --upgrade "pip==22.0.4" "setuptools==59.6.0" wheel displayName: 'Install tools' - powershell: | $pyversion = python -c "import sys; print(sys.version.split()[0])" diff --git a/ci/azure-travis-template.yaml b/ci/azure-travis-template.yaml index fee4a44b0589..957a3ea3a76c 100644 --- a/ci/azure-travis-template.yaml +++ b/ci/azure-travis-template.yaml @@ -64,7 +64,7 @@ steps: displayName: 'Add ccache to path' - script: >- pip install --upgrade ${{parameters.numpy_spec}} && - pip install --upgrade pip setuptools==59.6.0 wheel && + pip install --upgrade pip==22.0.4 setuptools==59.6.0 wheel && pip install ${{parameters.other_spec}} cython gmpy2