Skip to content

Commit 67f673f

Browse files
committed
CI: pin Pip to 22.0.4 to avoid issues with --no-build-isolation
This change can be reverted once Pip releases its next version with a fix for pypa/pip#11116. At the moment all our Azure builds are failing with errors like: ``` ERROR: Some build dependencies for file:///D:/a/1/s conflict with the backend dependencies: numpy==1.21.4 is incompatible with numpy==1.18.5; python_version=='3.8' and (platform_machine!='arm64' or platform_system!='Darwin') and platform_machine!='aarch64' and platform_python_implementation != 'PyPy'. ``` [skip github]
1 parent 8f55987 commit 67f673f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ stages:
248248
git submodule update --init
249249
displayName: 'Fetch submodules'
250250
- script: |
251-
python -m pip install --upgrade pip "setuptools==59.6.0" wheel
251+
python -m pip install --upgrade "pip==22.0.4" "setuptools==59.6.0" wheel
252252
displayName: 'Install tools'
253253
- powershell: |
254254
$pyversion = python -c "import sys; print(sys.version.split()[0])"

ci/azure-travis-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ steps:
6464
displayName: 'Add ccache to path'
6565
- script: >-
6666
pip install --upgrade ${{parameters.numpy_spec}} &&
67-
pip install --upgrade pip setuptools==59.6.0 wheel &&
67+
pip install --upgrade pip==22.0.4 setuptools==59.6.0 wheel &&
6868
pip install ${{parameters.other_spec}}
6969
cython
7070
gmpy2

0 commit comments

Comments
 (0)