8000 Test and support Python 3.6 (#181) · sonlinux/client_python@96b91c3 · GitHub
[go: up one dir, main page]

Skip to content
65FC

Commit 96b91c3

Browse files
bz2brian-brazil
authored andcommitted
Test and support Python 3.6 (prometheus#181)
Add py36 to the Travis CI config, and setup.py classifiers. Also tweak local tox config, install twisted for 3.6 and make noptionals variant use 2.7 and 3.6 only, as suggested by @brian-brazil in review.
1 parent 609ec42 commit 96b91c3

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ matrix:
3333
env: TOXENV=py34
3434
- python: "3.5"
3535
env: TOXENV=py35
36-
- python: "3.5"
37-
env: TOXENV=py35-nooptionals
36+
- python: "3.6"
37+
env: TOXENV=py36
38+
- python: "3.6"
39+
env: TOXENV=py36-nooptionals
3840
- python: "pypy"
3941
env: TOXENV=pypy
4042

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"Programming Language :: Python :: 3",
2929
"Programming Language :: Python :: 3.4",
3030
"Programming Language :: Python :: 3.5",
31+
"Programming Language :: Python :: 3.6",
3132
"Programming Language :: Python :: Implementation :: CPython",
3233
"Programming Language :: Python :: Implementation :: PyPy",
3334
"Topic :: System :: Monitoring",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = coverage-clean,py26,py27,py34,py35,py36,pypy,{py27,py35,py36}-nooptionals,coverage-report
2+
envlist = coverage-clean,py26,py27,py34,py35,py36,pypy,{py27,py36}-nooptionals,coverage-report
33

44

55
[base]
@@ -12,7 +12,7 @@ deps =
1212
{[base]deps}
1313
py26: unittest2
1414
; Twisted does not support Python 2.6.
15-
{py27,py34,py35,pypy}: twisted
15+
{py27,py34,py35,py36,pypy}: twisted
1616
commands = coverage run --parallel -m pytest {posargs}
1717

1818

@@ -21,7 +21,7 @@ commands = coverage run --parallel -m pytest {posargs}
2121
deps = {[base]deps}
2222
commands = coverage run --parallel -m pytest {posargs}
2323

24-
[testenv:py35-nooptionals]
24+
[testenv:py36-nooptionals]
2525
deps = {[base]deps}
2626
commands = coverage run --parallel -m pytest {posargs}
2727

@@ -37,4 +37,4 @@ deps = coverage
3737
skip_install = true
3838
commands =
3939
coverage combine
40-
coverage report
40+
coverage report

0 commit comments

Comments
 (0)
0