Use a setuptools that still supports py33

This commit is contained in:
Dave Halter
2018-07-09 20:53:06 +02:00
parent 59605438e9
commit e6bc924fba

View File

@@ -2,6 +2,7 @@
envlist = py27, py33, py34, py35, py36, py37
[testenv]
deps =
{env:_SETUPTOOLS_DEP:setuptools}
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
# For --lf and --ff.
pytest-cache
@@ -10,6 +11,7 @@ setenv =
# 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]