From 6c57ffd2d96988e57a33d79d34d37bae00461230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jouni=20K=2E=20Sepp=C3=A4nen?= Date: Sun, 2 Jun 2019 08:29:31 +0300 Subject: [PATCH] Don't install pytest 4.6.0 on Travis It seems to be causing test failures, see pytest-dev/pytest#5358 --- .appveyor.yml | 2 +- requirements/testing/travis_all.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index f9df89971c67..7ff4998bd086 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -66,7 +66,7 @@ install: - activate test-environment - echo %PYTHON_VERSION% %TARGET_ARCH% # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124 - - pip install -q "pytest>=3.4" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist + - pip install -q "pytest>=3.4,<4.6" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist # Apply patch to `subprocess` on Python versions > 2 and < 3.6.3 # https://github.com/matplotlib/matplotlib/issues/9176 diff --git a/requirements/testing/travis_all.txt b/requirements/testing/travis_all.txt index 51c77a74e602..2aa187be16f9 100644 --- a/requirements/testing/travis_all.txt +++ b/requirements/testing/travis_all.txt @@ -5,7 +5,7 @@ cycler numpy pillow pyparsing -pytest +pytest>=4.5.0,<4.6.0 pytest-cov pytest-faulthandler pytest-rerunfailures