Closed pcdinh closed 4 years ago
In CI:
TypeError: __init__() got an unexpected keyword argument 'strict_map_key'
It seems we should support both old and new implementations.
From python-msgpack 1.0.0 release notes:
- Remove
encoding
option from the Packer and Unpacker.
Are'we affected by this?
From python-msgpack 1.0.0 release notes:
- Remove
encoding
option from the Packer and Unpacker.Are'we affected by this?
In fact, no:
I dived a bit further and it reminds me changes we did for msgpack-0.5.2.
We already use
raw=False
whenencoding
is'utf-8'
since msgpack-0.5.2 (2097884), because otherwise it emits the deprecation warning regardingencoding
option usage. So we should just continue passingraw=False
on msgpack-1.0.0.
Closed in favor of PR #173.
In msgpack 1.0.0, the default value of strict_map_key is changed to True to avoid hashdos. However, it will break the Tarantool driver, causing an exception:
As a result, the driver is unable to parse server response. The issue is reported at https://github.com/tarantool/tarantool-python/issues/155