8000 Add support for Python 3.8 (#478) · rwky/client_python@29e6b3e · GitHub
[go: up one dir, main page]

Skip to content

Commit 29e6b3e

Browse files
asherfbrian-brazil
authored andcommitted
Add support for Python 3.8 (prometheus#478)
* Run tests/support Python 3.8 Signed-off-by: Asher Foa <asher@asherfoa.com>
1 parent 6214c3a commit 29e6b3e

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: xenial
12
sudo: false
23
cache:
34
directories:
@@ -22,11 +23,12 @@ matrix:
2223
env: TOXENV=py36
2324
- python: "3.7"
2425
env: TOXENV=py37
25-
dist: xenial
2626
sudo: true
27-
- python: "3.7"
28-
env: TOXENV=py37-nooptionals
29-
dist: xenial
27+
- python: "3.8"
28+
env: TOXENV=py38
29+
sudo: true
30+
- python: "3.8"
31+
env: TOXENV=py38-nooptionals
3032
sudo: true
3133
- python: "pypy"
3234
env: TOXENV=pypy

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"Programming Language :: Python :: 3.5",
3737
"Programming Language :: Python :: 3.6",
3838
"Programming Language :: Python :: 3.7",
39+
"Programming Language :: Python :: 3.8",
3940
"Programming Language :: Python :: Implementation :: CPython",
4041
"Programming Language :: Python :: Implementation :: PyPy",
4142
"Topic :: System :: Monitoring",

tox.ini

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

44

55
[base]
@@ -39,7 +39,7 @@ deps =
3939
futures
4040
commands = coverage run --parallel -m pytest {posargs}
4141

42-
[testenv:py37-nooptionals]
42+
[testenv:py38-nooptionals]
4343
commands = coverage run --parallel -m pytest {posargs}
4444

4545
[testenv:coverage-clean]

0 commit comments

Comments
 (0)
0