8000 py26 has fixed dependencies (#218) · sonlinux/client_python@4e25eab · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e25eab

Browse files
ioggstreambrian-brazil
authored andcommitted
py26 has fixed dependencies (prometheus#218)
py26 doesn't support pytest>=3 and py>=1.5
1 parent 3679aa2 commit 4e25eab

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tox.ini

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ deps =
77
coverage
88
pytest
99

10+
[testenv:py26]
11+
; Last pytest and py version supported on py26 .
12+
deps =
13+
unittest2
14+
py==1.4.31
15+
pytest==2.9.2
16+
coverage
17+
1018
[testenv]
1119
deps =
1220
{[base]deps}
13-
py26: unittest2
14-
; Twisted does not support Python 2.6.
1521
{py27,py34,py35,py36,pypy}: twisted
1622
commands = coverage run --parallel -m pytest {posargs}
1723

0 commit comments

Comments
 (0)
0