Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-intake for openSUSE:Factory checked in at 2021-07-20 15:39:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-intake (Old) and /work/SRC/openSUSE:Factory/.python-intake.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-intake" Tue Jul 20 15:39:44 2021 rev:7 rq:907305 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-intake/python-intake.changes 2021-02-15 23:20:58.831815223 +0100 +++ /work/SRC/openSUSE:Factory/.python-intake.new.2632/python-intake.changes 2021-07-20 15:40:44.389609282 +0200 @@ -1,0 +2,9 @@ +Mon Jul 19 12:31:26 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.6.2 + * no changelog +- Drop intake-pr560-fix-category-ordering.patch merged upstream +- Add intake-pr601-dask-array.patch for dask API change + gh#intake/intake#601 + +------------------------------------------------------------------- Old: ---- intake-0.6.0.tar.gz intake-pr560-fix-category-ordering.patch New: ---- intake-0.6.2.tar.gz intake-pr601-dask-array.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-intake.spec ++++++ --- /var/tmp/diff_new_pack.xuNUJW/_old 2021-07-20 15:40:44.917610226 +0200 +++ /var/tmp/diff_new_pack.xuNUJW/_new 2021-07-20 15:40:44.917610226 +0200 @@ -21,7 +21,7 @@ # NEP 29: packages in the dependency tree which droped Python 3.6 support in TW %define skip_python36 1 Name: python-intake -Version: 0.6.0 +Version: 0.6.2 Release: 0 Summary: Data loading and cataloging system License: BSD-2-Clause @@ -31,8 +31,8 @@ Source1: https://raw.githubusercontent.com/intake/intake/%{version}/intake/source/tests/data.zarr/.zarray#/tests-data.zarr.zarray Source2: https://raw.githubusercontent.com/intake/intake/%{version}/intake/source/tests/data.zarr/0#/tests-data.zarr.0 Source3: https://raw.githubusercontent.com/intake/intake/%{version}/intake/source/tests/calvert_uk_filter.tar.gz -# PATCH-FIX-UPSTREAM intake-pr560-fix-category-ordering.patch gh#intake/intake#560 -Patch0: intake-pr560-fix-category-ordering.patch +# PATCH-FIX-UPSTREAM intake-pr601-dask-array.patch -- gh#intake/intake#601 +Patch1: https://github.com/intake/intake/pull/601/commits/1ff83ef1f6e0df329328619517292c69df846920.patch#/intake-pr601-dask-array.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -44,14 +44,14 @@ Requires: python-fsspec >= 0.7.4 Requires: python-python-snappy Requires: python-tornado -Recommends: python-hvplot -Recommends: python-panel >= 0.7.0 Recommends: python-bokeh Recommends: python-dask-dataframe +Recommends: python-hvplot Recommends: python-msgpack-numpy +Recommends: python-panel >= 0.7.0 Recommends: python-pyarrow Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} @@ -111,6 +111,10 @@ # test_discover_cli overrides the PYTHONPATH and thus doesn't find the package in buildroot # test_discover does not find its own config because the registration does not work in our test env donttest+=" or test_discover" +if [ $(getconf LONG_BIT) -eq 32 ]; then + # the test looks for the wrong dtype on 32-bit (int64 vs int) + donttest+=" or test_zarr_minimal" +fi %pytest -ra -k "not (${donttest:4})" %post ++++++ intake-0.6.0.tar.gz -> intake-0.6.2.tar.gz ++++++ ++++ 11572 lines of diff (skipped) ++++++ intake-pr601-dask-array.patch ++++++ >From 1ff83ef1f6e0df329328619517292c69df846920 Mon Sep 17 00:00:00 2001 From: Martin Durant <martin.dur...@utoronto.ca> Date: Fri, 2 Jul 2021 13:17:36 -0400 Subject: [PATCH] Update call to dask.array.Array to use kwargs (positional arguments changed) --- intake/container/ndarray.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intake/container/ndarray.py b/intake/container/ndarray.py index 4d9e8eb50..fd000fbf1 100644 --- a/intake/container/ndarray.py +++ b/intake/container/ndarray.py @@ -41,7 +41,8 @@ def _load_metadata(self): for part in itertools.product(*nparts) } - self.arr = da.Array(dask, name, self.chunks, self.dtype, self.shape) + self.arr = da.Array(dask, name=name, chunks=self.chunks, + dtype=self.dtype, shape=self.shape) return self._schema