Skip to content

Commit bd557da

Browse files
authored
Python 3.8 support (#2088)
1 parent 316da74 commit bd557da

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ python:
66
- 2.7
77
- 3.4
88
- 3.7
9+
- 3.8
910
- pypy2.7-6.0
1011

1112
env:

docs/compatibility.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Although kafka-python is tested and expected to work on recent broker versions,
1616
not all features are supported. Specifically, authentication codecs, and
1717
transactional producer/consumer support are not fully implemented. PRs welcome!
1818

19-
kafka-python is tested on python 2.7, 3.4, 3.7, and pypy2.7.
19+
kafka-python is tested on python 2.7, 3.4, 3.7, 3.8 and pypy2.7.
2020

2121
Builds and tests via Travis-CI. See https://travis-ci.org/dpkp/kafka-python

requirements-dev.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
flake8==3.4.1
2-
pytest==3.10.0
3-
pytest-cov==2.6.0
2+
pytest==5.4.3
3+
pytest-cov==2.10.0
44
docker-py==1.10.6
55
coveralls==1.5.1
66
Sphinx==1.6.4
@@ -9,8 +9,8 @@ xxhash==1.3.0
99
python-snappy==0.5.3
1010
tox==3.5.3
1111
mock==3.0.5
12-
pylint==1.9.3
13-
pytest-pylint==0.12.3
12+
pylint==2.5.3
13+
pytest-pylint==0.17.0
1414
pytest-mock==1.10.0
1515
sphinx-rtd-theme==0.2.4
1616
crc32c==1.7

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def run(cls):
5656
"Programming Language :: Python :: 3.5",
5757
"Programming Language :: Python :: 3.6",
5858
"Programming Language :: Python :: 3.7",
59+
"Programming Language :: Python :: 3.8",
5960
"Programming Language :: Python :: Implementation :: PyPy",
6061
"Topic :: Software Development :: Libraries :: Python Modules",
6162
]

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{26,27,34,35,36,37,py}, docs
2+
envlist = py{26,27,34,35,36,37,38,py}, docs
33

44
[pytest]
55
testpaths = kafka test
@@ -8,10 +8,10 @@ log_format = %(created)f %(filename)-23s %(threadName)s %(message)s
88

99
[testenv]
1010
deps =
11-
pytest<4.0
11+
pytest
1212
pytest-cov
13-
py{27,34,35,36,37,py}: pylint
14-
py{27,34,35,36,37,py}: pytest-pylint
13+
py{27,34,35,36,37,38,py}: pylint
14+
py{27,34,35,36,37,38,py}: pytest-pylint
1515
pytest-mock
1616
mock
1717
python-snappy

0 commit comments

Comments
 (0)