Skip to content

Commit ae9bd52

Browse files
CI: On Azure, pin pytest-xdist to version 2.5.0
The Azure job "Main prerelease_deps_coverage_64bit_blas" is failing because of an incompatibility between ptest-cov and pytest-xdist 3.0.2, so use ptest-xdist 2.5.0 until the issue pytest-dev/pytest-cov#557 is resolved. [skip cirrus] [skip actions] [skip circle]
1 parent 26a77da commit ae9bd52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/azure-travis-template.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ steps:
6464
displayName: 'Install common apt dependencies'
6565
- script: 'echo "##vso[task.prependpath]/usr/lib/ccache"'
6666
displayName: 'Add ccache to path'
67+
# Use pytest-xdist 2.5.0 until https://github.com/pytest-dev/pytest-cov/issues/557
68+
# is resolved.
6769
- script: >-
6870
pip install --upgrade ${{parameters.numpy_spec}} &&
6971
pip install --upgrade pip setuptools==59.6.0 wheel build meson meson-python &&
@@ -76,7 +78,7 @@ steps:
7678
pythran
7779
pybind11
7880
pytest
79-
pytest-xdist
81+
pytest-xdist==2.5.0
8082
pytest-timeout
8183
displayName: 'Install common python dependencies'
8284
- ${{ if eq(parameters.test_mode, 'full') }}:

0 commit comments

Comments
 (0)