From b5d095316acd59d0364f5d8b6cd3c997bedecf36 Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Fri, 9 Sep 2016 11:16:47 +0200 Subject: [PATCH 1/2] Force py.test version before 3.0 py.test 3.0 dropped support for Python 3.2 https://github.com/pytest-dev/pytest/issues/1627 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index a971384..7a3359a 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = py25,py26,py27,py32,py33 [testenv] deps= lxml - pytest + pytest<3 pytest-cov commands = From 16ce549f59d893fd07382e48640e957639459a52 Mon Sep 17 00:00:00 2001 From: Paul Tremberth Date: Fri, 9 Sep 2016 11:42:47 +0200 Subject: [PATCH 2/2] Travis: uninstall pytest before forcing version < 3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e666cf7..a89d5b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: - pip install lxml -e . - pip install -U codecov pytest-cov - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; - then pip uninstall -y coverage && pip install "coverage<4"; + then pip uninstall -y coverage pytest && pip install "coverage<4" && pip install "pytest<3"; fi script: