Skip to content

Commit 140d168

Browse files
committed
Support Python 3.8
1 parent f2c12de commit 140d168

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

.travis.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: trusty
1+
dist: xenial
22
sudo: false
33
language: python
44

@@ -19,35 +19,36 @@ matrix:
1919
# Main tests on supported Python versions.
2020
- python: 3.6
2121
env: TOXENV=py36
22+
dist: trusty
2223
- python: 3.7
2324
env: TOXENV=py37
24-
dist: xenial
25-
sudo: true # required workaround for https://github.com/travis-ci/travis-ci/issues/9815
2625
- python: 3.6
2726
env: TOXENV=py36
2827
- python: 3.7
2928
env: TOXENV=py37
30-
dist: xenial
31-
sudo: true # required workaround for https://github.com/travis-ci/travis-ci/issues/9815
29+
- python: 3.8
30+
env: TOXENV=py38
3231
- python: 3.6
3332
env: TOXENV=autobahn SIDE=client
33+
dist: trusty
3434
- python: 3.7
3535
env: TOXENV=autobahn SIDE=client
36-
dist: xenial
37-
sudo: true # required workaround for https://github.com/travis-ci/travis-ci/issues/9815
36+
- python: 3.8
37+
env: TOXENV=autobahn SIDE=client
3838
- python: 3.6
3939
env: TOXENV=autobahn SIDE=server
40+
dist: trusty
4041
- python: 3.7
4142
env: TOXENV=autobahn SIDE=server
42-
dist: xenial
43-
sudo: true # required workaround for https://github.com/travis-ci/travis-ci/issues/9815
43+
- python: 3.8
44+
env: TOXENV=autobahn SIDE=server
4445

4546
# Linting, docs, and other non-test stuff.
46-
- python: 3.6
47+
- python: 3.8
4748
env: TOXENV=lint
48-
- python: 3.6
49+
- python: 3.8
4950
env: TOXENV=docs
50-
- python: 3.6
51+
- python: 3.8
5152
env: TOXENV=packaging
5253

5354
install:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
'Programming Language :: Python :: 3',
5050
'Programming Language :: Python :: 3.6',
5151
'Programming Language :: Python :: 3.7',
52+
'Programming Language :: Python :: 3.8',
5253
'Programming Language :: Python :: Implementation :: CPython',
5354
'Programming Language :: Python :: Implementation :: PyPy',
5455
],

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36, py37, pypy, format, mypy, lint, packaging, docs
2+
envlist = py36, py37, py38, pypy, format, mypy, lint, packaging, docs
33

44
[testenv]
55
deps =
@@ -24,7 +24,7 @@ commands =
2424
python run-autobahn-tests.py {env:SIDE:}
2525

2626
[testenv:format]
27-
basepython = python3.7
27+
basepython = python3.8
2828
deps =
2929
black
3030
isort
@@ -33,19 +33,19 @@ commands =
3333
isort --dont-skip __init__.py --diff --check --settings-path setup.cfg --recursive wsproto test example compliance
3434

3535
[testenv:mypy]
36-
basepython = python3.7
36+
basepython = python3.8
3737
deps = mypy
3838
commands =
3939
mypy wsproto/ test/ example/
4040

4141
[testenv:lint]
42-
basepython = python3.6
42+
basepython = python3.8
4343
deps =
4444
prospector
4545
commands = prospector
4646

4747
[testenv:docs]
48-
basepython = python3.6
48+
basepython = python3.8
4949
deps = sphinx==2.2.1
5050
whitelist_externals = make
5151
changedir = {toxinidir}/docs
@@ -54,7 +54,7 @@ commands =
5454
make html
5555

5656
[testenv:packaging]
57-
basepython=python3.6
57+
basepython=python3.8
5858
deps =
5959
check-manifest==0.40
6060
readme-renderer==24.0

0 commit comments

Comments
 (0)