From a90622040d6665229258b55620e2a058460dfb04 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 21 Sep 2018 14:43:50 +0200 Subject: [PATCH] tox.ini: simplify deps --- tox.ini | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 7afe832..d4bb92d 100644 --- a/tox.ini +++ b/tox.ini @@ -3,20 +3,17 @@ envlist = py27, py33, py34, py35, py36, py37, pypy [testenv] extras = testing deps = - {env:_SETUPTOOLS_DEP:setuptools} - {env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7} + py26,py33: pytest>=3.0.7,<3.3 + py26,py33: setuptools<37 setenv = # https://github.com/tomchristie/django-rest-framework/issues/1957 # tox corrupts __pycache__, solution from here: PYTHONDONTWRITEBYTECODE=1 - py26,py33: _PARSO_TEST_PYTEST_DEP=pytest>=3.0.7,<3.3 - py26,py33: _SETUPTOOLS_DEP=setuptools<37 commands = pytest {posargs:parso test} [testenv:cov] deps = coverage - {[testenv]deps} commands = coverage run --source parso -m pytest coverage report