Commit 228aead3 authored by Yuxin Wu's avatar Yuxin Wu

Remove deprecated usage of msgpack (https://github.com/tensorflow/tensorflow/issues/16906)

parent 4f4b0ba3
...@@ -3,7 +3,7 @@ six ...@@ -3,7 +3,7 @@ six
termcolor>=1.1 termcolor>=1.1
tabulate>=0.7.7 tabulate>=0.7.7
tqdm>4.11.1 tqdm>4.11.1
msgpack msgpack>=0.5.2
msgpack-numpy>=0.4.0 msgpack-numpy>=0.4.0
pyzmq>=16 pyzmq>=16
subprocess32; python_version < '3.0' subprocess32; python_version < '3.0'
......
...@@ -34,7 +34,7 @@ def loads_msgpack(buf): ...@@ -34,7 +34,7 @@ def loads_msgpack(buf):
Args: Args:
buf: the output of `dumps`. buf: the output of `dumps`.
""" """
return msgpack.loads(buf, encoding='utf-8') return msgpack.loads(buf, raw=False)
def dumps_pyarrow(obj): def dumps_pyarrow(obj):
......
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