Skip to content

Commit 2e0a52b

Browse files
committed
Document and test support for Python 3.8.
1 parent aef1e87 commit 2e0a52b

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ jobs:
2929
- checkout
3030
- run: sudo pip install tox
3131
- run: tox -e py37
32+
py38:
33+
docker:
34+
- image: circleci/python:3.8
35+
steps:
36+
# Remove IPv6 entry for localhost in Circle CI containers because it doesn't work anyway.
37+
- run: sudo cp /etc/hosts /tmp; sudo sed -i '/::1/d' /tmp/hosts; sudo cp /tmp/hosts /etc
38+
- checkout
39+
- run: sudo pip install tox
40+
- run: tox -e py38
3241

3342
workflows:
3443
version: 2
@@ -41,3 +50,6 @@ workflows:
4150
- py37:
4251
requires:
4352
- main
53+
- py38:
54+
requires:
55+
- main

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Changelog
88

99
*In development*
1010

11+
* Added compatibility with Python 3.8.
12+
1113
8.0.2
1214
.....
1315

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
'Programming Language :: Python :: 3',
5454
'Programming Language :: Python :: 3.6',
5555
'Programming Language :: Python :: 3.7',
56+
'Programming Language :: Python :: 3.8',
5657
],
5758
package_dir = {'': 'src'},
5859
package_data = {'websockets': ['py.typed']},

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36,py37,coverage,black,flake8,isort,mypy
2+
envlist = py36,py37,py38,coverage,black,flake8,isort,mypy
33

44
[testenv]
55
commands = python -W default -m unittest {posargs}

0 commit comments

Comments
 (0)