Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-holoviews for
openSUSE:Factory checked in at 2023-09-04 22:53:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-holoviews (Old)
and /work/SRC/openSUSE:Factory/.python-holoviews.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-holoviews"
Mon Sep 4 22:53:40 2023 rev:37 rq:1108852 version:1.17.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-holoviews/python-holoviews.changes
2023-06-09 20:39:03.739120295 +0200
+++
/work/SRC/openSUSE:Factory/.python-holoviews.new.1766/python-holoviews.changes
2023-09-04 22:54:21.253404848 +0200
@@ -1,0 +2,14 @@
+Thu Aug 31 09:40:27 UTC 2023 - Markéta Machová <[email protected]>
+
+- Update to 1.17.1
+ * interactive twin-axis support
+ * ability to set custom options on plot components with backend_opts
+ * datashaders where and summary aggregators are now supported
+ * rasterize now has a selector option
+ * Bokeh figures with the same labels will synchronize muteness or
+ visibility across different figures
+ * several enhancements and bug fixes
+- Add upstream numpy125.patch
+- Add python3-only.patch (sent upstream)
+
+-------------------------------------------------------------------
Old:
----
holoviews-1.16.1.tar.gz
New:
----
holoviews-1.17.1.tar.gz
numpy125.patch
python3-only.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-holoviews.spec ++++++
--- /var/tmp/diff_new_pack.qS8jPb/_old 2023-09-04 22:54:22.413445854 +0200
+++ /var/tmp/diff_new_pack.qS8jPb/_new 2023-09-04 22:54:22.417445995 +0200
@@ -18,7 +18,7 @@
%bcond_without test
Name: python-holoviews
-Version: 1.16.1
+Version: 1.17.1
Release: 0
Summary: Composable, declarative visualizations for Python
License: BSD-3-Clause
@@ -26,6 +26,10 @@
URL: https://github.com/holoviz/holoviews
Source0:
https://files.pythonhosted.org/packages/source/h/holoviews/holoviews-%{version}.tar.gz
Source99: python-holoviews-rpmlintrc
+#PATCH-FIX-UPSTREAM https://github.com/holoviz/holoviews/pull/5870 Support
Numpy 1.25
+Patch: numpy125.patch
+#PATCH-FIX-UPSTREAM https://github.com/holoviz/holoviews/pull/5874 support
python3-only systems
+Patch: python3-only.patch
BuildRequires: %{python_module colorcet}
BuildRequires: %{python_module numpy >= 1.0}
BuildRequires: %{python_module packaging}
++++++ holoviews-1.16.1.tar.gz -> holoviews-1.17.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-holoviews/holoviews-1.16.1.tar.gz
/work/SRC/openSUSE:Factory/.python-holoviews.new.1766/holoviews-1.17.1.tar.gz
differ: char 5, line 1
++++++ numpy125.patch ++++++
>From b3dc1c80656c1ce6dd6cea4ae2a48f815e0aefd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= <[email protected]>
Date: Tue, 29 Aug 2023 10:19:43 +0200
Subject: [PATCH 1/2] Support Numpy 1.25
---
holoviews/util/transform.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/holoviews/util/transform.py b/holoviews/util/transform.py
index 9ab375bb7a..7c91722557 100644
--- a/holoviews/util/transform.py
+++ b/holoviews/util/transform.py
@@ -193,9 +193,11 @@ def _python_isin(array, values):
python_isin = _maybe_map(_python_isin)
+# Type of numpy function like np.max changed in Numpy 1.25
+# from function to a numpy._ArrayFunctionDispatcher.
function_types = (
BuiltinFunctionType, BuiltinMethodType, FunctionType,
- MethodType, np.ufunc, iloc, loc
+ MethodType, np.ufunc, iloc, loc, type(np.max)
)
>From 01daf32c320b871218cf1b16cbf9517050191bf8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= <[email protected]>
Date: Wed, 30 Aug 2023 11:36:18 +0200
Subject: [PATCH 2/2] Change ops to self.ops
---
holoviews/util/transform.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/holoviews/util/transform.py b/holoviews/util/transform.py
index 7c91722557..9204c2c65d 100644
--- a/holoviews/util/transform.py
+++ b/holoviews/util/transform.py
@@ -253,7 +253,7 @@ class dim:
def __init__(self, obj, *args, **kwargs):
from panel.widgets import Widget
- ops = []
+ self.ops = []
self._ns = np.ndarray
self.coerce = kwargs.get('coerce', True)
if isinstance(obj, str):
@@ -266,7 +266,7 @@ def __init__(self, obj, *args, **kwargs):
self.dimension = obj.param.value
else:
self.dimension = obj.dimension
- ops = obj.ops
+ self.ops = obj.ops
if args:
fn = args[0]
else:
@@ -276,9 +276,8 @@ def __init__(self, obj, *args, **kwargs):
any(fn in funcs for funcs in self._all_funcs)):
raise ValueError('Second argument must be a function, '
'found %s type' % type(fn))
- ops = ops + [{'args': args[1:], 'fn': fn, 'kwargs': kwargs,
+ self.ops = self.ops + [{'args': args[1:], 'fn': fn, 'kwargs':
kwargs,
'reverse': kwargs.pop('reverse', False)}]
- self.ops = ops
def __getstate__(self):
return self.__dict__
++++++ python3-only.patch ++++++
Index: holoviews-1.17.1/holoviews/tests/util/test_init.py
===================================================================
--- holoviews-1.17.1.orig/holoviews/tests/util/test_init.py
+++ holoviews-1.17.1/holoviews/tests/util/test_init.py
@@ -1,5 +1,6 @@
from textwrap import dedent
from subprocess import check_output
+from shutil import which
def test_no_blocklist_imports():
@@ -14,6 +15,6 @@ def test_no_blocklist_imports():
print(", ".join(mods), end="")
"""
- output = check_output(['python', '-c', dedent(check)])
+ output = check_output([('python' if which('python') else 'python3'), '-c',
dedent(check)])
assert output == b""