lebedov / msgpack-numpy

Serialize numpy arrays using msgpack
Other
197 stars 33 forks source link

Deprecation Warning: encoding is deprecated #31

Closed DomHudson closed 6 years ago

DomHudson commented 6 years ago

Summary

I am getting the following deprecation warnings during encoding and decoding.

msgpack_numpy.py:133: PendingDeprecationWarning: encoding is deprecated.
  use_bin_type=use_bin_type)
PendingDeprecationWarning: encoding is deprecated, Use raw=False instead.
  return _unpackb(packed, **kwargs)

The relevant commit/line is: https://github.com/msgpack/msgpack-python/pull/265/files#diff-2e1ae6be4195b4cbed2c0ed3df9e7194R117


System

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic
Python 3.6.5 (default, Apr  1 2018, 05:46:30) 
[GCC 7.3.0] on linux
msgpack                         0.5.6     
msgpack-numpy                   0.4.3.1   
lebedov commented 6 years ago

Fixed.

DomHudson commented 6 years ago

Thank you very much