Hello community, here is the log from the commit of package python-partd for openSUSE:Factory checked in at 2019-06-06 18:15:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-partd (Old) and /work/SRC/openSUSE:Factory/.python-partd.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-partd" Thu Jun 6 18:15:56 2019 rev:3 rq:707134 version:0.3.10 Changes: -------- --- /work/SRC/openSUSE:Factory/python-partd/python-partd.changes 2018-12-24 11:40:52.837479344 +0100 +++ /work/SRC/openSUSE:Factory/.python-partd.new.4811/python-partd.changes 2019-06-06 18:15:57.756709918 +0200 @@ -1,0 +2,7 @@ +Mon Jun 3 10:24:48 UTC 2019 - [email protected] + +- version update to 0.3.10 + * no upstream changelog +- use %pytest macro + +------------------------------------------------------------------- Old: ---- partd-0.3.8.tar.gz New: ---- partd-0.3.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-partd.spec ++++++ --- /var/tmp/diff_new_pack.BpHCuj/_old 2019-06-06 18:15:58.352709744 +0200 +++ /var/tmp/diff_new_pack.BpHCuj/_new 2019-06-06 18:15:58.356709742 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-partd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,9 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-partd -Version: 0.3.8 +Version: 0.3.10 Release: 0 Summary: Appendable key-value storage License: BSD-3-Clause @@ -32,9 +30,9 @@ BuildRequires: %{python_module toolz} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with tests} +# SECTION test requirements BuildRequires: %{python_module pytest} -%endif +# /SECTION Requires: python-locket Requires: python-toolz Recommends: python-blosc @@ -65,14 +63,8 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with tests} %check -pushd partd/tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -py.test-%{$python_bin_suffix} -} -popd -%endif +%pytest %files %{python_files} %defattr(-,root,root,-) ++++++ partd-0.3.8.tar.gz -> partd-0.3.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/PKG-INFO new/partd-0.3.10/PKG-INFO --- old/partd-0.3.8/PKG-INFO 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-0.3.10/PKG-INFO 2019-03-14 19:12:53.000000000 +0100 @@ -1,10 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: partd -Version: 0.3.8 +Version: 0.3.10 Summary: Appendable key-value storage Home-page: http://github.com/dask/partd/ -Author: Matthew Rocklin -Author-email: [email protected] +Maintainer: Matthew Rocklin +Maintainer-email: [email protected] License: BSD Description: PartD ===== @@ -137,3 +137,4 @@ :target: https://pypi.python.org/pypi/partd/ Platform: UNKNOWN +Provides-Extra: complete diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/__init__.py new/partd-0.3.10/partd/__init__.py --- old/partd-0.3.8/partd/__init__.py 2017-05-03 19:26:58.000000000 +0200 +++ new/partd-0.3.10/partd/__init__.py 2019-03-14 19:12:01.000000000 +0100 @@ -16,4 +16,4 @@ from .zmq import Client, Server -__version__ = '0.3.8' +__version__ = '0.3.10' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/numpy.py new/partd-0.3.10/partd/numpy.py --- old/partd-0.3.8/partd/numpy.py 2017-04-04 16:54:41.000000000 +0200 +++ new/partd-0.3.10/partd/numpy.py 2019-03-11 17:19:11.000000000 +0100 @@ -104,7 +104,12 @@ def deserialize(bytes, dtype, copy=False): if dtype == 'O': try: - blocks = [msgpack.unpackb(f, encoding='utf-8') + if msgpack.version >= (0, 5, 2): + unpack_kwargs = {'raw': False} + else: + unpack_kwargs = {'encoding': 'utf-8'} + + blocks = [msgpack.unpackb(f, **unpack_kwargs) for f in framesplit(bytes)] except Exception: blocks = [pickle.loads(f) for f in framesplit(bytes)] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/pandas.py new/partd-0.3.10/partd/pandas.py --- old/partd-0.3.8/partd/pandas.py 2017-05-03 19:25:09.000000000 +0200 +++ new/partd-0.3.10/partd/pandas.py 2019-03-14 19:11:58.000000000 +0100 @@ -119,9 +119,8 @@ extension = ('categorical_type', (values.ordered, values.categories)) values = values.codes elif is_datetime64tz_dtype(block): - # TODO: compat with older pandas? extension = ('datetime64_tz_type', (block.values.tzinfo,)) - values = np.asarray(values) + values = values.view('i8') else: extension = ('numpy_type', ()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/python.py new/partd-0.3.10/partd/python.py --- old/partd-0.3.8/partd/python.py 2016-08-18 14:21:31.000000000 +0200 +++ new/partd-0.3.10/partd/python.py 2019-03-11 17:19:11.000000000 +0100 @@ -28,7 +28,11 @@ def loads(x): try: - return msgpack.unpackb(x, encoding='utf8') + if msgpack.version >= (0, 5, 2): + unpack_kwargs = {'raw': False} + else: + unpack_kwargs = {'encoding': 'utf-8'} + return msgpack.unpackb(x, **unpack_kwargs) except: return pickle.loads(x) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/utils.py new/partd-0.3.10/partd/utils.py --- old/partd-0.3.8/partd/utils.py 2015-05-14 23:32:14.000000000 +0200 +++ new/partd-0.3.10/partd/utils.py 2019-03-11 17:19:11.000000000 +0100 @@ -34,7 +34,7 @@ """ Pack the length of the bytes in front of the bytes TODO: This does a full copy. This should maybe be inlined somehow - whereever this gets used instead. My laptop shows a data bandwidth of + wherever this gets used instead. My laptop shows a data bandwidth of 2GB/s """ return struct.pack('Q', len(bytes)) + bytes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd.egg-info/PKG-INFO new/partd-0.3.10/partd.egg-info/PKG-INFO --- old/partd-0.3.8/partd.egg-info/PKG-INFO 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-0.3.10/partd.egg-info/PKG-INFO 2019-03-14 19:12:53.000000000 +0100 @@ -1,10 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: partd -Version: 0.3.8 +Version: 0.3.10 Summary: Appendable key-value storage Home-page: http://github.com/dask/partd/ -Author: Matthew Rocklin -Author-email: [email protected] +Maintainer: Matthew Rocklin +Maintainer-email: [email protected] License: BSD Description: PartD ===== @@ -137,3 +137,4 @@ :target: https://pypi.python.org/pypi/partd/ Platform: UNKNOWN +Provides-Extra: complete diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd.egg-info/requires.txt new/partd-0.3.10/partd.egg-info/requires.txt --- old/partd-0.3.8/partd.egg-info/requires.txt 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-0.3.10/partd.egg-info/requires.txt 2019-03-14 19:12:53.000000000 +0100 @@ -2,7 +2,7 @@ toolz [complete] -numpy >= 1.9.0 -pandas +numpy>=1.9.0 +pandas>=0.19.0 pyzmq blosc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/setup.cfg new/partd-0.3.10/setup.cfg --- old/partd-0.3.8/setup.cfg 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-0.3.10/setup.cfg 2019-03-14 19:12:53.000000000 +0100 @@ -1,5 +1,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/setup.py new/partd-0.3.10/setup.py --- old/partd-0.3.8/setup.py 2017-05-03 19:27:03.000000000 +0200 +++ new/partd-0.3.10/setup.py 2019-03-14 19:12:01.000000000 +0100 @@ -4,7 +4,7 @@ from setuptools import setup setup(name='partd', - version='0.3.8', + version='0.3.10', description='Appendable key-value storage', url='http://github.com/dask/partd/', maintainer='Matthew Rocklin', @@ -15,5 +15,10 @@ install_requires=list(open('requirements.txt').read().strip().split('\n')), long_description=(open('README.rst').read() if exists('README.rst') else ''), - extras_require = {'complete': ['numpy >= 1.9.0', 'pandas', 'pyzmq', 'blosc']}, + extras_require={'complete': [ + 'numpy >= 1.9.0', + 'pandas >=0.19.0', + 'pyzmq', + 'blosc', + ]}, zip_safe=False)
