Skip to content

Commit 6083700

Browse files
jianbin-wei88manpreet
authored andcommitted
Add kafka 0.10.2.1 into integration testing version (dpkp#1096)
* Add kafka 0.10.2.1 into integration testing version * Disable tests for python 2.6 and kafka 0.8.0 and 0.8.1.1 * Remove references to python 2.6 support
1 parent 824d2e3 commit 6083700

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ def run(cls):
2424

2525

2626
test_require = ['tox', 'mock']
27-
if sys.version_info < (2, 7):
28-
test_require.append('unittest2')
2927

3028
here = os.path.abspath(os.path.dirname(__file__))
3129

tox.ini

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

44
[pytest]
55
testpaths = kafka test
@@ -19,17 +19,12 @@ deps =
1919
python-snappy
2020
lz4
2121
xxhash
22-
py26: unittest2
2322
commands =
2423
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka --cov-config=.covrc}
2524
setenv =
2625
PROJECT_ROOT = {toxinidir}
2726
passenv = KAFKA_VERSION
2827

29-
[testenv:py26]
30-
# pylint doesn't support python2.6
31-
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}
32-
3328
[testenv:pypy]
3429
# pylint is super slow on pypy...
3530
commands = py.test {posargs:--cov=kafka --cov-config=.covrc}

0 commit comments

Comments
 (0)