Skip to content

Commit

Permalink
Pin to latest msgpack-python, drop deprecated config kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed Feb 14, 2022
1 parent 927decc commit 2859797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
'pdbpp',

# serialization
'msgpack',
'msgpack >= 0.5.6',

],
extras_require={
Expand Down
5 changes: 1 addition & 4 deletions tractor/_ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ def __init__(
async def _iter_packets(self) -> AsyncGenerator[dict, None]:
"""Yield packets from the underlying stream.
"""
unpacker = msgpack.Unpacker(
raw=False,
strict_map_key=False
)
unpacker = msgpack.Unpacker(raw=False)
while True:
try:
data = await self.stream.receive_some(2**10)
Expand Down

0 comments on commit 2859797

Please sign in to comment.