From b1a6d3301f0ed997e937dcc3b09a3cff27360cff Mon Sep 17 00:00:00 2001 From: Jianbin Wei Date: Fri, 16 Jun 2017 22:58:58 -0700 Subject: Add kafka 0.10.2.1 into integration testing version (#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 --- docs/compatibility.rst | 2 +- docs/tests.rst | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'docs') diff --git a/docs/compatibility.rst b/docs/compatibility.rst index f14c203..124af18 100644 --- a/docs/compatibility.rst +++ b/docs/compatibility.rst @@ -9,6 +9,6 @@ Compatibility kafka-python is compatible with (and tested against) broker versions 0.10 through 0.8.0 . kafka-python is not compatible with the 0.8.2-beta release. -kafka-python is tested on python 2.6, 2.7, 3.3, 3.4, 3.5, and pypy. +kafka-python is tested on python 2.7, 3.3, 3.4, 3.5, and pypy. Builds and tests via Travis-CI. See https://travis-ci.org/dpkp/kafka-python diff --git a/docs/tests.rst b/docs/tests.rst index 49f4f1f..74642c9 100644 --- a/docs/tests.rst +++ b/docs/tests.rst @@ -10,8 +10,8 @@ Test environments are managed via tox. The test suite is run via pytest. Individual tests are written using unittest, pytest, and in some cases, doctest. -Linting is run via pylint, but is generally skipped on python2.6 and pypy -due to pylint compatibility / performance issues. +Linting is run via pylint, but is generally skipped on pypy due to pylint +compatibility / performance issues. For test coverage details, see https://coveralls.io/github/dpkp/kafka-python @@ -60,19 +60,20 @@ kafka server binaries: ./build_integration.sh -By default, this will install 0.8.1.1, 0.8.2.2, 0.9.0.1, and 0.10.1.1 brokers into the -servers/ directory. To install a specific version, set `KAFKA_VERSION=0.9.0.0`: +By default, this will install 0.8.2.2, 0.9.0.1, 0.10.1.1, and +0.10.2.1 brokers into the servers/ directory. To install a specific version, + e.g., set `KAFKA_VERSION=0.10.2.1`: .. code:: bash - KAFKA_VERSION=0.8.0 ./build_integration.sh + KAFKA_VERSION=0.10.2.1 ./build_integration.sh Then run the tests against supported Kafka versions, simply set the `KAFKA_VERSION` env variable to the server build you want to use for testing: .. code:: bash - KAFKA_VERSION=0.9.0.1 tox -e py27 + KAFKA_VERSION=0.10.2.1 tox -e py27 To test against the kafka source tree, set KAFKA_VERSION=trunk [optionally set SCALA_VERSION (defaults to 2.10)] -- cgit v1.2.1