From a71a83c3808ed676f260d39f05d0da077049fc29 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 9 Jan 2018 18:33:37 +0100 Subject: [PATCH] require msgpack >= 0.4.6 and < 0.6.0, forbid 0.5.0. maybe this is the easiest way for us to deal with msgpack compatibility. 0.5.0 release had some troubles: - FutureWarning on stderr disturbing other output there, breaking tests - pip install -U broken due to a pip issue with the transisition pkg which was needed due to the package rename (ImportError for msgpack) - some linux dists not packaging the transition pkg --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1a79d558f..a81100df6 100644 --- a/setup.py +++ b/setup.py @@ -37,8 +37,8 @@ on_rtd = os.environ.get('READTHEDOCS') install_requires = [ # msgpack pure python data corruption was fixed in 0.4.6. - # Also, we might use some rather recent API features. - 'msgpack-python>=0.4.6', + # msgpack 0.5.0 was a bit of a troublemaker. + 'msgpack-python>=0.4.6,!=0.5.0,<0.6.0', 'pyzmq', ]