Skip to content

Commit

Permalink
CI: On Azure, pin pytest-xdist to version 2.5.0
Browse files Browse the repository at this point in the history
The Azure job "Main prerelease_deps_coverage_64bit_blas" is
failing because of an incompatibility between pytest-cov and
pytest-xdist 3.0.2, so use pytest-xdist 2.5.0 until the issue
pytest-dev/pytest-cov#557
is resolved.

[skip cirrus] [skip actions] [skip circle]
  • Loading branch information
WarrenWeckesser committed Nov 3, 2022
1 parent 26a77da commit 3d5ead9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/azure-travis-template.yaml
Expand Up @@ -64,6 +64,8 @@ steps:
displayName: 'Install common apt dependencies'
- script: 'echo "##vso[task.prependpath]/usr/lib/ccache"'
displayName: 'Add ccache to path'
# Use pytest-xdist 2.5.0 until https://github.com/pytest-dev/pytest-cov/issues/557
# is resolved.
- script: >-
pip install --upgrade ${{parameters.numpy_spec}} &&
pip install --upgrade pip setuptools==59.6.0 wheel build meson meson-python &&
Expand All @@ -76,7 +78,7 @@ steps:
pythran
pybind11
pytest
pytest-xdist
pytest-xdist==2.5.0
pytest-timeout
displayName: 'Install common python dependencies'
- ${{ if eq(parameters.test_mode, 'full') }}:
Expand Down

0 comments on commit 3d5ead9

Please sign in to comment.