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 2023-03-15 18:54:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-uproot (Old) and /work/SRC/openSUSE:Factory/.python-uproot.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-uproot" Wed Mar 15 18:54:12 2023 rev:11 rq:1071817 version:5.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-uproot/python-uproot.changes 2022-08-11 18:33:08.750213678 +0200 +++ /work/SRC/openSUSE:Factory/.python-uproot.new.31432/python-uproot.changes 2023-03-15 18:54:19.756326453 +0100 @@ -1,0 +2,98 @@ +Sun Mar 12 10:15:56 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com> + +- Disable building against python3.11 until numba -- and dask -- is + compatible. +- Disable 32-bit builds since python-awkward no longer builds for + those archs. + +------------------------------------------------------------------- +Wed Mar 1 08:33:29 UTC 2023 - Matej Cepl <mc...@suse.com> + +- Clean up SPEC file + +------------------------------------------------------------------- +Thu Feb 23 21:23:42 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 5.0.3: + * feat: Infrastructure for writing of RNTuple (incomplete + functionality) + * feat: [WIP] RNTuple Basic Writing + * fix: an uproot.dask test was wrong; revealed by new dask- + awkward. + * fix: separate AwkwardForth machine for each TBranch context. + * fix: separate ZstdDecompressor for each thread. + * fix: uproot.dask: Protect against `branches=None` in + `project_columns` + * fix: AsStridedObjects.awkward_form was still including the + '@' members. + * fix: protect Uproot's 'project_columns' from Dask node names. + * Uproot version 5 has a few major new features, one removal + (`uproot.lazy`), and is based on Awkward Array version 2 + instead of version 1. + * @kkothari2001 upgraded Uproot from Awkward version 1 to + version 2, the major part of which was replacing + `uproot.lazy`, which is based on Awkward 1's virtual and + partitioned lazy arrays, with the new Dask collection, dask- + awkward. The entry point for this function is `uproot.dask`. + * @kkothari2001 also simplified Uproot's Pandas backend, which + used to "explode" ragged arrays from ROOT into Pandas + DataFrames with a non-trivial MultiIndex. Now, it takes + advantage of awkward-pandas to put ragged (and more complex) + Awkward Arrays directly into Pandas columns. + * If you want the old behavior, you can read data using + `library="ak"` to get an Awkward Array, and use + ak.to_dataframe to "explode" the data into a MultiIndex. + * @aryan26roy added a new code path to the TTree-reading + routines to read them with AwkwardForth instead of pure + Python. Users won't see any _interface_ changes due to this + code, but the performance of reading TBranches with + `AsObject` or `AsStrings` Interpretations should be orders of + magnitude faster. For example, `std::vector>` reading is now + 400à faster. + * @Moelf added a complete reader of RNTuple data with most of + an RNTuple-writer in an unmerged pull request (#705). + Although the RNTuple format is still in development, this is + a very good start at reading RNTuple data, whose structure is + a close match to Awkward Arrays (so the translation is more + one-to-one than it is for TTrees, for instance). + * feat: move to hatchling + * feat: `from_map` like optimization for dask arrays + * feat: Finalizing AwkwardForth reader for Uproot + * feat: implemented NON-memberwise deserialization for AsMap. + * feat: Added column_projection optimization + * feat: support categorical axes on boost histograms + * feat: warn about TBranch name, alias name conflict. + * feat: any Mapping assigned to a WritableDirectory is + interpreted as a TTree or failure, no fall-through. + * feat: add 'interp_options' mechanism and ak_add_doc. + * feat: Use awkward pandas, instead of the existing code that + explodes Pandas Dataframes + * feat: made 'very optional' arguments keyword-only + * feat: adjust for name change in scikit-hep/awkward#1919. + * fix: depend on packaging, not setuptools vendored packaging + * fix: Avoid triggering temporary dask-awkward/awkward + incompatibility. + * fix: Do not write incorrect fSumw2 in histograms (v5). + * fix: Fixes uproot.dask bug with empty branches + * fix: Use `from_map` optimization for delayed numpy arrays and + add tests with empty branches for the same + * fix: use ctx manager to ensure resources are freed + * fix: ReadOnlyDirectory should provide the largest abs(cycle) + when cycle is unspecified, not the largest cycle. + * fix: regularize ROOT type aliases to C fundamental type + names. + * fix: avoid empty TBasket issue in embedded TBasket + * fix: don't use Awkward in test_0751 that doesn't need it + * fix: working TList serialization + * fix: histogram weights not handled correctly in hist / boost + conversion + * perf: streamline metadata handling for TBranch name lookup + and uproot.dask + * fix: ensure AwkwardForth fallback path is tested without + history. + * fix: all AwkwardForth Forms now agree with awkward_form + method output. + * fix: Uproot tests now work with Awkward 2.0.0. +- drop uproot-use-packaging-module.patch (upstream) + +------------------------------------------------------------------- Old: ---- uproot-4.3.4.tar.gz uproot-use-packaging-module.patch New: ---- uproot-5.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-uproot.spec ++++++ --- /var/tmp/diff_new_pack.9CSNRW/_old 2023-03-15 18:54:20.424330007 +0100 +++ /var/tmp/diff_new_pack.9CSNRW/_new 2023-03-15 18:54:20.432330049 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-uproot # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,9 +18,11 @@ # No numpy for py3.6 %define skip_python36 1 +# Numba does not build with python3.11, therefore no python311-dask +%define skip_python311 1 %global modname uproot Name: python-uproot -Version: 4.3.4 +Version: 5.0.3 Release: 0 Summary: ROOT I/O in pure Python and Numpy License: BSD-3-Clause @@ -28,36 +30,40 @@ URL: https://github.com/scikit-hep/uproot4 Source0: https://files.pythonhosted.org/packages/source/u/uproot/uproot-%{version}.tar.gz Source1: tests.tar.xz -# PATCH-FEATURE-OPENSUSE uproot-use-packaging-module.patch badshah...@gmail.com -- Use packaging module directly instead of calling it via setup.extern; the latter does not work on openSUSE directly -Patch0: uproot-use-packaging-module.patch +BuildRequires: %{python_module dask} BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-numpy >= 1.13.1 Requires: python-packaging Recommends: python-awkward -Suggests: python-lz4 -Suggests: python-zstandard -Suggests: python-xrootd -Suggests: python-pandas -Suggests: python-cupy Suggests: python-boost-histogram +Suggests: python-cupy Suggests: python-hist +Suggests: python-lz4 +Suggests: python-pandas +Suggests: python-xrootd +Suggests: python-zstandard BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module awkward} BuildRequires: %{python_module PyYAML} +BuildRequires: %{python_module awkward} BuildRequires: %{python_module lz4} BuildRequires: %{python_module numpy >= 1.13.1} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pandas} +BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests} BuildRequires: %{python_module scikit-hep-testdata} BuildRequires: %{python_module xxhash} BuildRequires: %{python_module boost-histogram >= 0.13 if (%python-base without python2-base)} # /SECTION +# python-awkward no longer builds for 32-bit archs +ExcludeArch: %{ix86} %{arm32} %python_subpackages %description @@ -68,16 +74,13 @@ arrays. %prep -%autosetup -p1 -n %{modname}-%{version} -%setup -q -D -T -a 1 -n %{modname}-%{version} -# gh#scikit-hep/uproot4#396 -sed -i '/def test/ i @pytest.mark.network' tests/test_0220-contiguous-byte-ranges-in-http.py +%autosetup -p1 -a1 -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -90,7 +93,7 @@ %files %{python_files} %doc README.md %license LICENSE -%{python_sitelib}/%{modname}/ -%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/ +%{python_sitelib}/%{modname} +%{python_sitelib}/%{modname}-%{version}*-info %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9CSNRW/_old 2023-03-15 18:54:20.468330240 +0100 +++ /var/tmp/diff_new_pack.9CSNRW/_new 2023-03-15 18:54:20.468330240 +0100 @@ -1,8 +1,8 @@ <services> <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.4</param> + <param name="url">https://github.com/scikit-hep/uproot5</param> + <param name="revision">v5.0.3</param> <param name="subdir">tests</param> <param name="filename">tests</param> <param name="version">_none_</param> ++++++ tests.tar.xz ++++++ ++++ 6741 lines of diff (skipped) ++++++ uproot-4.3.4.tar.gz -> uproot-5.0.3.tar.gz ++++++ ++++ 25676 lines of diff (skipped)