Hello community,

here is the log from the commit of package python-msgpack-numpy for 
openSUSE:Leap:15.2 checked in at 2020-05-03 14:29:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-msgpack-numpy (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-msgpack-numpy.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-msgpack-numpy"

Sun May  3 14:29:02 2020 rev:2 rq:799645 version:0.4.5

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-msgpack-numpy/python-msgpack-numpy.changes  
    2020-02-22 17:51:51.201699996 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-msgpack-numpy.new.2738/python-msgpack-numpy.changes
    2020-05-03 14:30:15.308630913 +0200
@@ -1,0 +2,11 @@
+Fri Apr 24 15:46:49 UTC 2020 - Arun Persaud <a...@gmx.de>
+
+- specfile:
+  * update copyright year
+  * remove devel package
+  * be more specific in %files section
+
+- update to version 0.4.5:
+  * Set defaults appropriate to msgpack 1.0.0 (#38).
+
+-------------------------------------------------------------------

Old:
----
  msgpack-numpy-0.4.4.3.tar.gz

New:
----
  msgpack-numpy-0.4.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-msgpack-numpy.spec ++++++
--- /var/tmp/diff_new_pack.qjTuFk/_old  2020-05-03 14:30:15.664631672 +0200
+++ /var/tmp/diff_new_pack.qjTuFk/_new  2020-05-03 14:30:15.664631672 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-msgpack-numpy
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-msgpack-numpy
-Version:        0.4.4.3
+Version:        0.4.5
 Release:        0
 Summary:        Numpy data serialization library using msgpack
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/lebedov/msgpack-numpy
 Source:         
https://files.pythonhosted.org/packages/source/m/msgpack-numpy/msgpack-numpy-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -61,6 +60,8 @@
 %files %{python_files}
 %doc AUTHORS.rst CHANGES.rst README.rst
 %license LICENSE.rst
-%{python_sitelib}/*
+%{python_sitelib}/msgpack_numpy-%{version}-py*.egg-info
+%{python_sitelib}/msgpack_numpy.*
+%pycache_only %{python_sitelib}/__pycache__
 
 %changelog

++++++ msgpack-numpy-0.4.4.3.tar.gz -> msgpack-numpy-0.4.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/CHANGES.rst 
new/msgpack-numpy-0.4.5/CHANGES.rst
--- old/msgpack-numpy-0.4.4.3/CHANGES.rst       2019-05-16 14:11:42.000000000 
+0200
+++ new/msgpack-numpy-0.4.5/CHANGES.rst 2020-04-13 04:00:52.000000000 +0200
@@ -3,6 +3,10 @@
 Change Log
 ==========
 
+Release 0.4.5 (April 12, 2020)
+------------------------------
+* Set defaults appropriate to msgpack 1.0.0 (#38).
+
 Release 0.4.4.3 (May 16, 2019)
 ------------------------------
 * Configure contiguous integration with Travis.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/LICENSE.rst 
new/msgpack-numpy-0.4.5/LICENSE.rst
--- old/msgpack-numpy-0.4.4.3/LICENSE.rst       2019-05-15 14:52:44.000000000 
+0200
+++ new/msgpack-numpy-0.4.5/LICENSE.rst 2020-04-13 03:57:32.000000000 +0200
@@ -3,7 +3,7 @@
 License
 =======
 
-Copyright (c) 2013-2019, Lev E. Givon.
+Copyright (c) 2013-2020, Lev E. Givon.
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/PKG-INFO 
new/msgpack-numpy-0.4.5/PKG-INFO
--- old/msgpack-numpy-0.4.4.3/PKG-INFO  2019-05-16 14:18:21.000000000 +0200
+++ new/msgpack-numpy-0.4.5/PKG-INFO    2020-04-13 04:02:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: msgpack-numpy
-Version: 0.4.4.3
+Version: 0.4.5
 Summary: Numpy data serialization using msgpack
 Home-page: https://github.com/lebedov/msgpack-numpy
 Author: Lev E. Givon
@@ -62,6 +62,15 @@
         variable is set), it will fall back to using the slower pure Python 
msgpack 
         implementation.
         
+        Notes
+        -----
+        The primary design goal of msgpack-numpy is ensuring preservation of 
numerical
+        data types during msgpack serialization and deserialization. Inclusion 
of type
+        information in the serialized data necessarily incurs some storage 
overhead; if
+        preservation of type information is not needed, one may be able to 
avoid some
+        of this overhead by writing a custom encoder/decoder pair that 
produces more
+        efficient serializations for those specific use cases.
+        
         Development
         -----------
         The latest source code can be obtained from
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/README.rst 
new/msgpack-numpy-0.4.5/README.rst
--- old/msgpack-numpy-0.4.4.3/README.rst        2019-05-16 14:15:23.000000000 
+0200
+++ new/msgpack-numpy-0.4.5/README.rst  2019-10-24 21:42:12.000000000 +0200
@@ -59,6 +59,15 @@
 variable is set), it will fall back to using the slower pure Python msgpack 
 implementation.
 
+Notes
+-----
+The primary design goal of msgpack-numpy is ensuring preservation of numerical
+data types during msgpack serialization and deserialization. Inclusion of type
+information in the serialized data necessarily incurs some storage overhead; if
+preservation of type information is not needed, one may be able to avoid some
+of this overhead by writing a custom encoder/decoder pair that produces more
+efficient serializations for those specific use cases.
+
 Development
 -----------
 The latest source code can be obtained from
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/msgpack-numpy-0.4.4.3/msgpack_numpy.egg-info/PKG-INFO 
new/msgpack-numpy-0.4.5/msgpack_numpy.egg-info/PKG-INFO
--- old/msgpack-numpy-0.4.4.3/msgpack_numpy.egg-info/PKG-INFO   2019-05-16 
14:18:21.000000000 +0200
+++ new/msgpack-numpy-0.4.5/msgpack_numpy.egg-info/PKG-INFO     2020-04-13 
04:02:38.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: msgpack-numpy
-Version: 0.4.4.3
+Version: 0.4.5
 Summary: Numpy data serialization using msgpack
 Home-page: https://github.com/lebedov/msgpack-numpy
 Author: Lev E. Givon
@@ -62,6 +62,15 @@
         variable is set), it will fall back to using the slower pure Python 
msgpack 
         implementation.
         
+        Notes
+        -----
+        The primary design goal of msgpack-numpy is ensuring preservation of 
numerical
+        data types during msgpack serialization and deserialization. Inclusion 
of type
+        information in the serialized data necessarily incurs some storage 
overhead; if
+        preservation of type information is not needed, one may be able to 
avoid some
+        of this overhead by writing a custom encoder/decoder pair that 
produces more
+        efficient serializations for those specific use cases.
+        
         Development
         -----------
         The latest source code can be obtained from
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/msgpack_numpy.py 
new/msgpack-numpy-0.4.5/msgpack_numpy.py
--- old/msgpack-numpy-0.4.4.3/msgpack_numpy.py  2019-05-15 20:34:15.000000000 
+0200
+++ new/msgpack-numpy-0.4.5/msgpack_numpy.py    2020-04-13 03:59:53.000000000 
+0200
@@ -4,7 +4,7 @@
 Support for serialization of numpy data types with msgpack.
 """
 
-# Copyright (c) 2013-2019, Lev E. Givon
+# Copyright (c) 2013-2020, Lev E. Givon
 # All rights reserved.
 # Distributed under the terms of the BSD license:
 # http://www.opensource.org/licenses/bsd-license
@@ -129,7 +129,7 @@
                                            unicode_errors=unicode_errors,
                                            max_buffer_size=max_buffer_size)
 
-else:
+elif msgpack.version < (1, 0, 0):
     class Packer(_Packer):
         def __init__(self, default=None,
                      unicode_errors='strict',
@@ -164,6 +164,63 @@
                                            max_buffer_size=max_buffer_size,
                                            ext_hook=ext_hook)
 
+else:
+    class Packer(_Packer):
+        def __init__(self,
+                     default=None,
+                     use_single_float=False,
+                     autoreset=True,
+                     use_bin_type=True,
+                     strict_types=False,
+                     datetime=False,
+                     unicode_errors=None):
+            default = functools.partial(encode, chain=default)
+            super(Packer, self).__init__(default=default,
+                                         use_single_float=use_single_float,
+                                         autoreset=autoreset,
+                                         use_bin_type=use_bin_type,
+                                         strict_types=strict_types,
+                                         datetime=datetime,
+                                         unicode_errors=unicode_errors)
+
+    class Unpacker(_Unpacker):
+        def __init__(self,
+                     file_like=None,
+                     read_size=0,
+                     use_list=True,
+                     raw=False,
+                     timestamp=0,
+                     strict_map_key=True,
+                     object_hook=None,
+                     object_pairs_hook=None,
+                     list_hook=None,
+                     unicode_errors=None,
+                     max_buffer_size=100 * 1024 * 1024,
+                     ext_hook=msgpack.ExtType,
+                     max_str_len=-1,
+                     max_bin_len=-1,
+                     max_array_len=-1,
+                     max_map_len=-1,
+                     max_ext_len=-1):
+            object_hook = functools.partial(decode, chain=object_hook)
+            super(Unpacker, self).__init__(file_like=file_like,
+                                           read_size=read_size,
+                                           use_list=use_list,
+                                           raw=raw,
+                                           timestamp=timestamp,
+                                           strict_map_key=strict_map_key,
+                                           object_hook=object_hook,
+                                           object_pairs_hook=object_pairs_hook,
+                                           list_hook=list_hook,
+                                           unicode_errors=unicode_errors,
+                                           max_buffer_size=max_buffer_size,
+                                           ext_hook=ext_hook,
+                                           max_str_len=max_str_len,
+                                           max_bin_len=max_bin_len,
+                                           max_array_len=max_array_len,
+                                           max_map_len=max_map_len,
+                                           max_ext_len=max_ext_len)
+
 def pack(o, stream, **kwargs):
     """
     Pack an object and write it to a stream.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/msgpack-numpy-0.4.4.3/setup.py 
new/msgpack-numpy-0.4.5/setup.py
--- old/msgpack-numpy-0.4.4.3/setup.py  2019-05-16 14:11:56.000000000 +0200
+++ new/msgpack-numpy-0.4.5/setup.py    2020-04-13 03:57:20.000000000 +0200
@@ -6,7 +6,7 @@
 from setuptools import setup
 
 NAME =               'msgpack-numpy'
-VERSION =            '0.4.4.3'
+VERSION =            '0.4.5'
 AUTHOR =             'Lev E. Givon'
 AUTHOR_EMAIL =       'l...@columbia.edu'
 URL =                'https://github.com/lebedov/msgpack-numpy'


Reply via email to