Commit 503dccb1 authored by Jens Vagelpohl's avatar Jens Vagelpohl

- prevent deprecation warning and move to latest msgpack supporting Python 2

parent 763ebc9d
......@@ -35,7 +35,7 @@ tests_require = [
'manuel',
'random2',
'mock',
'msgpack < 0.6',
'msgpack < 1',
'zope.testrunner',
]
......
......@@ -66,7 +66,7 @@ def decoder(protocol):
from msgpack import unpackb
def msgpack_decode(data):
"""Decodes msg and returns its parts"""
return unpackb(data, encoding='utf-8', use_list=False)
return unpackb(data, raw=False, use_list=False)
return msgpack_decode
else:
assert protocol[:1] == b'Z'
......
......@@ -21,7 +21,7 @@ deps =
zope.testing
zope.testrunner
mock
msgpack <0.6
msgpack < 1
# ZopeUndo is needed as soft-dependency for a regression test
ZopeUndo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment