From c8c0312a86a8d7a0ea769b11142b2b1cd93773ce Mon Sep 17 00:00:00 2001 From: Roberto Polli Date: Tue, 5 Dec 2017 18:18:23 +0100 Subject: [PATCH 1/2] Fix #216: static py26 dependencies for pytest and py --- tox.ini | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index b20f486b..c92da982 100644 --- a/tox.ini +++ b/tox.ini @@ -7,11 +7,16 @@ deps = coverage pytest +[testenv:py26] +deps = + unittest2 + py==1.4.31 + pytest==2.9.2 + coverage + [testenv] deps = {[base]deps} - py26: unittest2 - ; Twisted does not support Python 2.6. {py27,py34,py35,py36,pypy}: twisted commands = coverage run --parallel -m pytest {posargs} From 53985e437f6ce7c9ef68fc3d373c515ce58e5a61 Mon Sep 17 00:00:00 2001 From: ioggstream Date: Tue, 5 Dec 2017 19:29:49 +0100 Subject: [PATCH 2/2] py26 doesn't support pytest>=3 and py>=1.5 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c92da982..6e21847c 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ deps = pytest [testenv:py26] +; Last pytest and py version supported on py26 . deps = unittest2 py==1.4.31