mirror of
https://github.com/davidhalter/parso.git
synced 2026-05-11 09:08:40 +08:00
Use a setuptools that still supports py33
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
envlist = py27, py33, py34, py35, py36, py37
|
envlist = py27, py33, py34, py35, py36, py37
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
{env:_SETUPTOOLS_DEP:setuptools}
|
||||||
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
|
{env:_PARSO_TEST_PYTEST_DEP:pytest>=3.0.7}
|
||||||
# For --lf and --ff.
|
# For --lf and --ff.
|
||||||
pytest-cache
|
pytest-cache
|
||||||
@@ -10,6 +11,7 @@ setenv =
|
|||||||
# tox corrupts __pycache__, solution from here:
|
# tox corrupts __pycache__, solution from here:
|
||||||
PYTHONDONTWRITEBYTECODE=1
|
PYTHONDONTWRITEBYTECODE=1
|
||||||
py26,py33: _PARSO_TEST_PYTEST_DEP=pytest>=3.0.7,<3.3
|
py26,py33: _PARSO_TEST_PYTEST_DEP=pytest>=3.0.7,<3.3
|
||||||
|
py26,py33: _SETUPTOOLS_DEP=setuptools<37
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs:parso test}
|
pytest {posargs:parso test}
|
||||||
[testenv:cov]
|
[testenv:cov]
|
||||||
|
|||||||
Reference in New Issue
Block a user