Description: Remove encoding parameter which is (default UTF-8) removed with msgpack >= 1.0.0
Author: Nilesh Patra <npatra974@gmail.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=973215
Forwarded: https://github.com/fluent/fluent-logger-python/pull/171
Last-Update: 2020-11-19
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@
   long_description=open(README).read(),
   package_dir={'fluent': 'fluent'},
   packages=['fluent'],
-  install_requires=['msgpack<1.0.0'],
+  install_requires=['msgpack>=1.0.0'],
   author='Kazuki Ohta',
   author_email='kazuki.ohta@gmail.com',
   url='https://github.com/fluent/fluent-logger-python',
--- a/tests/mockserver.py
+++ b/tests/mockserver.py
@@ -68,7 +68,7 @@
         self._buf.seek(0)
         # TODO: have to process string encoding properly. currently we assume
         # that all encoding is utf-8.
-        return list(Unpacker(self._buf, encoding='utf-8'))
+        return list(Unpacker(self._buf))
 
     def close(self):
 
