Skip to content

Commit c51266d

Browse files
authored
Merge pull request #12878 from timhoffm/fix-pytest-error-in-ci
Pin pytest to <3.8 (for 3.0.x)
2 parents 4b5c07b + bd37cd7 commit c51266d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.appveyor.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ install:
6666
- activate test-environment
6767
- echo %PYTHON_VERSION% %TARGET_ARCH%
6868
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
69-
- pip install -q "pytest>=3.4" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
69+
- pip install -q "pytest>=3.4,<3.8" "pytest-cov>=2.3.1" pytest-rerunfailures
70+
pytest-timeout pytest-xdist
7071

7172
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
7273
# https://github.com/matplotlib/matplotlib/issues/9176

requirements/testing/travis_all.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ pillow
88
pyparsing
99
# pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.4 is
1010
# still supported; this is tested by the first travis python 3.5 build
11-
pytest>=3.6
11+
# pytest>=3.8 throws RemovedInPytest4Warning (github #12825)
12+
pytest>=3.6,<3.8
1213
pytest-cov
1314
pytest-faulthandler
1415
pytest-rerunfailures

0 commit comments

Comments
 (0)