Hello community, here is the log from the commit of package python-partd for openSUSE:Leap:15.2 checked in at 2020-03-09 18:09:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-partd (Old) and /work/SRC/openSUSE:Leap:15.2/.python-partd.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-partd" Mon Mar 9 18:09:53 2020 rev:11 rq:776893 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-partd/python-partd.changes 2020-01-15 15:51:23.835527537 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-partd.new.26092/python-partd.changes 2020-03-09 18:09:54.169070771 +0100 @@ -1,0 +2,18 @@ +Tue Jul 23 13:20:27 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 1.0.0: + * no upstream changelog + +------------------------------------------------------------------- +Mon Jun 3 10:24:48 UTC 2019 - [email protected] + +- version update to 0.3.10 + * no upstream changelog +- use %pytest macro + +------------------------------------------------------------------- +Tue Dec 4 12:51:13 UTC 2018 - Matej Cepl <[email protected]> + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- Old: ---- partd-0.3.8.tar.gz New: ---- partd-1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-partd.spec ++++++ --- /var/tmp/diff_new_pack.WNSUxK/_old 2020-03-09 18:09:54.445071166 +0100 +++ /var/tmp/diff_new_pack.WNSUxK/_new 2020-03-09 18:09:54.445071166 +0100 @@ -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 @@ -12,39 +12,35 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-partd -Version: 0.3.8 +Version: 1.0.0 Release: 0 Summary: Appendable key-value storage License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/mrocklin/partd/ +URL: https://github.com/mrocklin/partd/ Source: https://files.pythonhosted.org/packages/source/p/partd/partd-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module locket} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module toolz} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with tests} -BuildRequires: %{python_module pytest} -%endif Requires: python-locket Requires: python-toolz Recommends: python-blosc +Recommends: python-msgpack-python Recommends: python-numpy >= 1.9.0 Recommends: python-pandas Recommends: python-pyzmq -Recommends: python-msgpack-python -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION %python_subpackages %description @@ -66,17 +62,10 @@ %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,-) %doc README.rst %license LICENSE.txt %{python_sitelib}/* ++++++ partd-0.3.8.tar.gz -> partd-1.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/PKG-INFO new/partd-1.0.0/PKG-INFO --- old/partd-0.3.8/PKG-INFO 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-1.0.0/PKG-INFO 2019-06-25 09:00:22.000000000 +0200 @@ -1,10 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: partd -Version: 0.3.8 +Version: 1.0.0 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-1.0.0/partd/__init__.py --- old/partd-0.3.8/partd/__init__.py 2017-05-03 19:26:58.000000000 +0200 +++ new/partd-1.0.0/partd/__init__.py 2019-06-25 08:59:23.000000000 +0200 @@ -16,4 +16,4 @@ from .zmq import Client, Server -__version__ = '0.3.8' +__version__ = '1.0.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/compressed.py new/partd-1.0.0/partd/compressed.py --- old/partd-0.3.8/partd/compressed.py 2015-05-14 23:32:14.000000000 +0200 +++ new/partd-1.0.0/partd/compressed.py 2019-06-25 08:58:40.000000000 +0200 @@ -9,7 +9,9 @@ return b''.join(L) -with ignoring(ImportError): +with ignoring(ImportError, AttributeError): + # In case snappy is not installed, or another package called snappy that does not implement compress / decompress. + # For example, SnapPy (https://pypi.org/project/snappy/) import snappy Snappy = partial(Encode, snappy.compress, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd/numpy.py new/partd-1.0.0/partd/numpy.py --- old/partd-0.3.8/partd/numpy.py 2017-04-04 16:54:41.000000000 +0200 +++ new/partd-1.0.0/partd/numpy.py 2019-06-25 08:58:40.000000000 +0200 @@ -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-1.0.0/partd/pandas.py --- old/partd-0.3.8/partd/pandas.py 2017-05-03 19:25:09.000000000 +0200 +++ new/partd-1.0.0/partd/pandas.py 2019-06-25 08:58:40.000000000 +0200 @@ -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-1.0.0/partd/python.py --- old/partd-0.3.8/partd/python.py 2016-08-18 14:21:31.000000000 +0200 +++ new/partd-1.0.0/partd/python.py 2019-06-25 08:58:40.000000000 +0200 @@ -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-1.0.0/partd/utils.py --- old/partd-0.3.8/partd/utils.py 2015-05-14 23:32:14.000000000 +0200 +++ new/partd-1.0.0/partd/utils.py 2019-06-25 08:58:40.000000000 +0200 @@ -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 @@ -105,7 +105,6 @@ return (nested_get(i, coll, lazy=lazy) for i in ind) else: return [nested_get(i, coll, lazy=lazy) for i in ind] - return seq else: return coll[ind] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-0.3.8/partd.egg-info/PKG-INFO new/partd-1.0.0/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-1.0.0/partd.egg-info/PKG-INFO 2019-06-25 09:00:22.000000000 +0200 @@ -1,10 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: partd -Version: 0.3.8 +Version: 1.0.0 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-1.0.0/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-1.0.0/partd.egg-info/requires.txt 2019-06-25 09:00:22.000000000 +0200 @@ -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-1.0.0/setup.cfg --- old/partd-0.3.8/setup.cfg 2017-05-03 19:27:43.000000000 +0200 +++ new/partd-1.0.0/setup.cfg 2019-06-25 09:00:22.000000000 +0200 @@ -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-1.0.0/setup.py --- old/partd-0.3.8/setup.py 2017-05-03 19:27:03.000000000 +0200 +++ new/partd-1.0.0/setup.py 2019-06-25 08:59:13.000000000 +0200 @@ -4,7 +4,7 @@ from setuptools import setup setup(name='partd', - version='0.3.8', + version='1.0.0', 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)
