Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-partd for openSUSE:Factory checked in at 2021-08-16 10:11:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-partd (Old) and /work/SRC/openSUSE:Factory/.python-partd.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-partd" Mon Aug 16 10:11:31 2021 rev:6 rq:911996 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-partd/python-partd.changes 2020-03-12 23:12:27.867327671 +0100 +++ /work/SRC/openSUSE:Factory/.python-partd.new.1899/python-partd.changes 2021-08-16 10:17:40.082653159 +0200 @@ -1,0 +2,7 @@ +Fri Aug 13 13:48:49 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- update to 1.2.0 + * no release notes + * fixes compatibility with pandas 1.3 -- gh#dask/partd#49 + +------------------------------------------------------------------- Old: ---- partd-1.1.0.tar.gz New: ---- partd-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-partd.spec ++++++ --- /var/tmp/diff_new_pack.In03Rm/_old 2021-08-16 10:17:40.578652562 +0200 +++ /var/tmp/diff_new_pack.In03Rm/_new 2021-08-16 10:17:40.582652558 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-partd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-partd -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Appendable key-value storage License: BSD-3-Clause ++++++ partd-1.1.0.tar.gz -> partd-1.2.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/PKG-INFO new/partd-1.2.0/PKG-INFO --- old/partd-1.1.0/PKG-INFO 2019-11-22 21:24:55.000000000 +0100 +++ new/partd-1.2.0/PKG-INFO 2021-04-08 19:32:24.124318600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: partd -Version: 1.1.0 +Version: 1.2.0 Summary: Appendable key-value storage Home-page: http://github.com/dask/partd/ Maintainer: Matthew Rocklin @@ -131,8 +131,8 @@ >>> client = Pickle(Snappy(Client(server.address))) >>> client.append({'x': [1, 2, 3]}) - .. |Build Status| image:: https://travis-ci.org/dask/partd.png - :target: https://travis-ci.org/dask/partd + .. |Build Status| image:: https://github.com/dask/partd/workflows/CI/badge.svg + :target: https://github.com/dask/partd/actions?query=workflow%3ACI .. |Version Status| image:: https://img.shields.io/pypi/v/partd.svg :target: https://pypi.python.org/pypi/partd/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/README.rst new/partd-1.2.0/README.rst --- old/partd-1.1.0/README.rst 2019-03-11 17:19:11.000000000 +0100 +++ new/partd-1.2.0/README.rst 2021-04-02 02:20:51.000000000 +0200 @@ -123,7 +123,7 @@ >>> client = Pickle(Snappy(Client(server.address))) >>> client.append({'x': [1, 2, 3]}) -.. |Build Status| image:: https://travis-ci.org/dask/partd.png - :target: https://travis-ci.org/dask/partd +.. |Build Status| image:: https://github.com/dask/partd/workflows/CI/badge.svg + :target: https://github.com/dask/partd/actions?query=workflow%3ACI .. |Version Status| image:: https://img.shields.io/pypi/v/partd.svg :target: https://pypi.python.org/pypi/partd/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/partd/_version.py new/partd-1.2.0/partd/_version.py --- old/partd-1.1.0/partd/_version.py 2019-11-22 21:24:55.000000000 +0100 +++ new/partd-1.2.0/partd/_version.py 2021-04-08 19:32:24.125734800 +0200 @@ -8,11 +8,11 @@ version_json = ''' { - "date": "2019-11-22T14:24:36-0600", + "date": "2021-04-08T12:31:19-0500", "dirty": false, "error": null, - "full-revisionid": "ba06094d2cdd3ece47abb3236017a29e951cbebd", - "version": "1.1.0" + "full-revisionid": "9c9ba0a3a91b6b1eeb560615114a1df81fc427c1", + "version": "1.2.0" } ''' # END VERSION_JSON diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/partd/compatibility.py new/partd-1.2.0/partd/compatibility.py --- old/partd-1.1.0/partd/compatibility.py 2019-03-11 17:19:11.000000000 +0100 +++ new/partd-1.2.0/partd/compatibility.py 2021-04-08 19:23:04.000000000 +0200 @@ -12,3 +12,4 @@ unicode = unicode import cPickle as pickle from Queue import Queue, Empty + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/partd/pandas.py new/partd-1.2.0/partd/pandas.py --- old/partd-1.1.0/partd/pandas.py 2019-11-22 17:49:22.000000000 +0100 +++ new/partd-1.2.0/partd/pandas.py 2021-04-08 19:23:04.000000000 +0200 @@ -12,7 +12,6 @@ from .encode import Encode from .utils import extend, framesplit, frame - try: # pandas >= 0.24.0 from pandas.api.types import is_extension_array_dtype @@ -20,6 +19,18 @@ def is_extension_array_dtype(dtype): return False +try: + # Some `ExtensionArray`s can have a `.dtype` which is not a `ExtensionDtype` + # (e.g. they can be backed by a NumPy dtype). For these cases we check + # whether the instance is a `ExtensionArray`. + # https://github.com/dask/partd/issues/48 + from pandas.api.extensions import ExtensionArray + def is_extension_array(x): + return isinstance(x, ExtensionArray) +except ImportError: + def is_extension_array(x): + return False + dumps = partial(pickle.dumps, protocol=pickle.HIGHEST_PROTOCOL) @@ -129,7 +140,7 @@ elif is_datetime64tz_dtype(block): extension = ('datetime64_tz_type', (block.values.tzinfo,)) values = values.view('i8') - elif is_extension_array_dtype(block.dtype): + elif is_extension_array_dtype(block.dtype) or is_extension_array(values): extension = ("other", ()) else: extension = ('numpy_type', ()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/partd.egg-info/PKG-INFO new/partd-1.2.0/partd.egg-info/PKG-INFO --- old/partd-1.1.0/partd.egg-info/PKG-INFO 2019-11-22 21:24:55.000000000 +0100 +++ new/partd-1.2.0/partd.egg-info/PKG-INFO 2021-04-08 19:32:23.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: partd -Version: 1.1.0 +Version: 1.2.0 Summary: Appendable key-value storage Home-page: http://github.com/dask/partd/ Maintainer: Matthew Rocklin @@ -131,8 +131,8 @@ >>> client = Pickle(Snappy(Client(server.address))) >>> client.append({'x': [1, 2, 3]}) - .. |Build Status| image:: https://travis-ci.org/dask/partd.png - :target: https://travis-ci.org/dask/partd + .. |Build Status| image:: https://github.com/dask/partd/workflows/CI/badge.svg + :target: https://github.com/dask/partd/actions?query=workflow%3ACI .. |Version Status| image:: https://img.shields.io/pypi/v/partd.svg :target: https://pypi.python.org/pypi/partd/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/partd-1.1.0/versioneer.py new/partd-1.2.0/versioneer.py --- old/partd-1.1.0/versioneer.py 2019-11-22 21:23:43.000000000 +0100 +++ new/partd-1.2.0/versioneer.py 2021-04-02 02:20:51.000000000 +0200 @@ -609,7 +609,7 @@ # refs/heads/ and refs/tags/ prefixes that would let us distinguish # between branches and tags. By ignoring refnames without digits, we # filter out many common branch names like "release" and - # "stabilization", as well as "HEAD" and "master". + # "stabilization", as well as "HEAD" and "main". tags = set([r for r in refs if re.search(r'\d', r)]) if verbose: print("discarding '%%s', no digits" %% ",".join(refs - tags)) @@ -1001,7 +1001,7 @@ # refs/heads/ and refs/tags/ prefixes that would let us distinguish # between branches and tags. By ignoring refnames without digits, we # filter out many common branch names like "release" and - # "stabilization", as well as "HEAD" and "master". + # "stabilization", as well as "HEAD" and "main". tags = set([r for r in refs if re.search(r'\d', r)]) if verbose: print("discarding '%s', no digits" % ",".join(refs - tags))