Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-uproot for openSUSE:Factory checked in at 2022-08-11 18:32:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uproot (Old) and /work/SRC/openSUSE:Factory/.python-uproot.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uproot" Thu Aug 11 18:32:50 2022 rev:10 rq:994476 version:4.3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uproot/python-uproot.changes 2022-07-05 12:10:25.112637594 +0200 +++ /work/SRC/openSUSE:Factory/.python-uproot.new.1521/python-uproot.changes 2022-08-11 18:33:08.750213678 +0200 @@ -1,0 +2,9 @@ +Wed Aug 10 22:47:27 UTC 2022 - Atri Bhattacharya <badshah...@gmail.com> + +- Update to version 4.3.4: + * fixed uninitialized attributes of ReadOnlyDirectory + [gh#scikit-hep/uproot4#661]. +- Refresh uproot-use-packaging-module.patch to correct use of + packaging.version. + +------------------------------------------------------------------- Old: ---- uproot-4.3.3.tar.gz New: ---- uproot-4.3.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uproot.spec ++++++ --- /var/tmp/diff_new_pack.O48z14/_old 2022-08-11 18:33:09.478212562 +0200 +++ /var/tmp/diff_new_pack.O48z14/_new 2022-08-11 18:33:09.486212549 +0200 @@ -20,7 +20,7 @@ %define skip_python36 1 %global modname uproot Name: python-uproot -Version: 4.3.3 +Version: 4.3.4 Release: 0 Summary: ROOT I/O in pure Python and Numpy License: BSD-3-Clause ++++++ _service ++++++ --- /var/tmp/diff_new_pack.O48z14/_old 2022-08-11 18:33:09.530212482 +0200 +++ /var/tmp/diff_new_pack.O48z14/_new 2022-08-11 18:33:09.542212463 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/scikit-hep/uproot4</param> - <param name="revision">4.3.3</param> + <param name="revision">4.3.4</param> <param name="subdir">tests</param> <param name="filename">tests</param> <param name="version">_none_</param> ++++++ uproot-4.3.3.tar.gz -> uproot-4.3.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/PKG-INFO new/uproot-4.3.4/PKG-INFO --- old/uproot-4.3.3/PKG-INFO 2022-07-02 21:52:10.950681200 +0200 +++ new/uproot-4.3.4/PKG-INFO 2022-08-04 17:27:14.428790600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: uproot -Version: 4.3.3 +Version: 4.3.4 Summary: ROOT I/O in pure Python and NumPy. Home-page: https://github.com/scikit-hep/uproot4 Download-URL: https://github.com/scikit-hep/uproot4/releases diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/src/uproot/_util.py new/uproot-4.3.4/src/uproot/_util.py --- old/uproot-4.3.3/src/uproot/_util.py 2022-07-02 21:52:00.000000000 +0200 +++ new/uproot-4.3.4/src/uproot/_util.py 2022-08-04 17:27:07.000000000 +0200 @@ -234,7 +234,7 @@ def applyrules(x): for matcher, trans in rules: if matcher.search(x) is not None: - return matcher.sub(trans, x) + return matcher.sub(trans, x) # noqa: B023 else: return x diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/src/uproot/behaviors/TBranch.py new/uproot-4.3.4/src/uproot/behaviors/TBranch.py --- old/uproot-4.3.3/src/uproot/behaviors/TBranch.py 2022-07-02 21:52:00.000000000 +0200 +++ new/uproot-4.3.4/src/uproot/behaviors/TBranch.py 2022-08-04 17:27:07.000000000 +0200 @@ -546,7 +546,7 @@ is_self.append(True) def real_filter_branch(branch): - return branch is original and filter_branch(branch) + return branch is original and filter_branch(branch) # noqa: B023 else: is_self.append(False) @@ -614,17 +614,17 @@ ) def foreach(start): - stop = min(start + entry_step, entry_stop) + stop = min(start + entry_step, entry_stop) # noqa: B023 length = stop - start fields = [] names = [] for key in common_keys: - branch = obj[key] + branch = obj[key] # noqa: B023 - interpretation = branchid_interpretation[branch.cache_key] + interpretation = branchid_interpretation[branch.cache_key] # noqa: B023 form = interpretation.awkward_form( - obj.file, + obj.file, # noqa: B023 { "index_format": "i64", "header": False, @@ -637,7 +637,7 @@ ) generator = awkward.layout.ArrayGenerator( - branch.array, + branch.array, # noqa: B023 ( None, start, @@ -654,7 +654,7 @@ length, ) cache_key = "{}:{}:{}-{}:{}".format( - branch.cache_key, + branch.cache_key, # noqa: B023 interpretation.cache_key, start, stop, @@ -665,7 +665,7 @@ generator, cache=array_cache, cache_key=cache_key ) fields.append(virtualarray) - names.append(key) + names.append(key) # noqa: B023 recordarray = awkward.layout.RecordArray(fields, names, length) partitions.append(recordarray) @@ -3594,7 +3594,7 @@ is_self.append(True) def real_filter_branch(branch): - return branch is original and filter_branch(branch) + return branch is original and filter_branch(branch) # noqa: B023 else: is_self.append(False) @@ -3671,13 +3671,13 @@ dt, inner_shape = dt.subdtype def foreach(start): - stop = min(start + entry_step, entry_stop) + stop = min(start + entry_step, entry_stop) # noqa: B023 length = stop - start - delayed_array = delayed_get_array(ttree, key, start, stop) - shape = (length,) + inner_shape - dask_arrays.append( - da.from_delayed(delayed_array, shape=shape, dtype=dt) + delayed_array = delayed_get_array(ttree, key, start, stop) # noqa: B023 + shape = (length,) + inner_shape # noqa: B023 + dask_arrays.append( # noqa: B023 + da.from_delayed(delayed_array, shape=shape, dtype=dt) # noqa: B023 ) for start in range(entry_start, entry_stop, entry_step): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/src/uproot/reading.py new/uproot-4.3.4/src/uproot/reading.py --- old/uproot-4.3.3/src/uproot/reading.py 2022-07-02 21:52:00.000000000 +0200 +++ new/uproot-4.3.4/src/uproot/reading.py 2022-08-04 17:27:07.000000000 +0200 @@ -1405,7 +1405,8 @@ if self._fSeekKeys == 0: self._header_key = None self._keys = [] - + self._keys_lookup = {} + self._len = None else: keys_start = self._fSeekKeys keys_stop = min(keys_start + self._fNbytesKeys + 8, file.fEND) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/src/uproot/version.py new/uproot-4.3.4/src/uproot/version.py --- old/uproot-4.3.3/src/uproot/version.py 2022-07-02 21:52:00.000000000 +0200 +++ new/uproot-4.3.4/src/uproot/version.py 2022-08-04 17:27:07.000000000 +0200 @@ -12,7 +12,7 @@ import re -__version__ = "4.3.3" +__version__ = "4.3.4" version = __version__ version_info = tuple(re.split(r"[-\.]", __version__)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/uproot-4.3.3/src/uproot.egg-info/PKG-INFO new/uproot-4.3.4/src/uproot.egg-info/PKG-INFO --- old/uproot-4.3.3/src/uproot.egg-info/PKG-INFO 2022-07-02 21:52:10.000000000 +0200 +++ new/uproot-4.3.4/src/uproot.egg-info/PKG-INFO 2022-08-04 17:27:14.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: uproot -Version: 4.3.3 +Version: 4.3.4 Summary: ROOT I/O in pure Python and NumPy. Home-page: https://github.com/scikit-hep/uproot4 Download-URL: https://github.com/scikit-hep/uproot4/releases ++++++ uproot-use-packaging-module.patch ++++++ --- /var/tmp/diff_new_pack.O48z14/_old 2022-08-11 18:33:09.754212138 +0200 +++ /var/tmp/diff_new_pack.O48z14/_new 2022-08-11 18:33:09.758212132 +0200 @@ -1,13 +1,13 @@ -Index: uproot-4.3.0/src/uproot/_util.py +Index: uproot-4.3.4/src/uproot/_util.py =================================================================== ---- uproot-4.3.0.orig/src/uproot/_util.py -+++ uproot-4.3.0/src/uproot/_util.py +--- uproot-4.3.4.orig/src/uproot/_util.py ++++ uproot-4.3.4/src/uproot/_util.py @@ -17,7 +17,7 @@ from collections.abc import Iterable from urllib.parse import unquote, urlparse import numpy -import setuptools -+import packaging ++from packaging import version as pkgversion win = platform.system().lower().startswith("win") @@ -20,7 +20,7 @@ (exposing that library in the return type). """ - return setuptools.extern.packaging.version.parse(version) -+ return packaging.version.parse(version) ++ return pkgversion.parse(version) def from_module(obj, module_name):