From 3631bfa009a28767a2057c9beee470acaa6597d5 Mon Sep 17 00:00:00 2001 From: Jeff Widman Date: Fri, 11 Oct 2019 12:03:22 -0700 Subject: Remove SimpleClient, Producer, Consumer, Unittest (#1196) In the 2.0 release, we're removing: * `SimpleClient` * `SimpleConsumer` * `SimpleProducer` * Old partitioners used by `SimpleProducer`; these are superceded by the `DefaultPartitioner` These have been deprecated for several years in favor of `KafkaClient` / `KafkaConsumer` / `KafkaProducer`. Since 2.0 allows breaking changes, we are removing the deprecated classes. Additionally, since the only usage of `unittest` was in tests for these old Simple* clients, this also drops `unittest` from the library. All tests now run under `pytest`. --- setup.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 779adb9..8bc484c 100644 --- a/setup.py +++ b/setup.py @@ -24,8 +24,6 @@ class Tox(Command): test_require = ['tox', 'mock'] -if sys.version_info < (2, 7): - test_require.append('unittest2') here = os.path.abspath(os.path.dirname(__file__)) -- cgit v1.2.1