From e97e126f962f13dfe9859c0424f157b8d49bfac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Thu, 22 Dec 2016 14:04:41 +0100 Subject: [PATCH] support for python 3 suspended --- .travis.yml | 2 -- README.md | 4 ++-- setup.py | 4 ++-- tests/test_basics.py | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95b2e30..f6c21a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: python python: - "2.7" - - "3.4" - - "3.5" - "pypy" cache: pip script: diff --git a/README.md b/README.md index c6fc9fa..7640841 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ CoolAMQP []() []() +**Support for Python 3 is suspended until I fix pending issues** + When you're tired of fucking with AMQP reconnects. When a connection made by CoolAMQP to your broker fails, it will pick another @@ -29,8 +31,6 @@ As the project is in it's infancy stages, but actively maintained and used in a if you need a feature - just drop me a note or create a new issue here. -Now compatible with Python 3! - todo ---- * Allow binding queues with exchanges with a routing_key \ No newline at end of file diff --git a/setup.py b/setup.py index b3da187..4d20552 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,8 @@ setup(name='CoolAMQP', classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', +# 'Programming Language :: Python :: 3.4', +# 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Operating System :: OS Independent' diff --git a/tests/test_basics.py b/tests/test_basics.py index 623ed3b..750d164 100644 --- a/tests/test_basics.py +++ b/tests/test_basics.py @@ -24,7 +24,7 @@ class TestBasics(unittest.TestCase): p = self.amqp.drain(wait=4) self.assertIsInstance(p, MessageReceived) - self.assertEquals(p.message.body, b'what the fuck') + self.assertEquals(p.message.body, 'what the fuck') p.message.ack() self.assertIs(self.amqp.drain(wait=4), None) -- GitLab