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-04-03 17:46:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-holoviews (Old)
 and      /work/SRC/openSUSE:Factory/.python-holoviews.new.9019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-holoviews"

Mon Apr  3 17:46:10 2023 rev:35 rq:1076841 version:1.15.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-holoviews/python-holoviews.changes        
2022-11-24 12:23:05.269243625 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-holoviews.new.9019/python-holoviews.changes  
    2023-04-03 17:46:11.750240211 +0200
@@ -1,0 +2,42 @@
+Sun Mar 26 16:03:02 UTC 2023 - Ben Greiner <[email protected]>
+
+- Don't test xarray on python38: dropped support
+- Don't test dash on python311: no support yet
+- Don't test datashader on python38, python311: both of the above
+- Add holoviews-pr5649-ipykernel.patch gh#holoviz/holoviews#5649
+- Add disk constraint: big installation
+
+-------------------------------------------------------------------
+Wed Feb  8 11:39:16 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 1.15.4
+  * Make lasso select mask values using a Dask-compatible method
+    (#5568)
+  * Make plotly legend group unique (#5570)
+  * Set pan and wheel_zoom as the default Bokeh active tools
+    (#5480)
+  * Enable rendering colorbars on bokeh GraphPlots (#5585)
+  * Add Plotly Scatter3d documentation and fix colorbar title
+    (#5418)
+  * Only trigger range-update once in callbacks (#5558)
+  * Ensure dynamically created subplots can be updated (#5555)
+  * Fix start of stack-level in deprecations (#5569)
+  * When sorting colormap records, replace None with an empty
+    string (#5539)
+  * Fix annotator in Geoviews by adding deserialization of
+    non-deserialized base64 data (#5587)
+  * Fix hv.Empty not working in AdjointLayout plot (#5584)
+  * Check for categorical data to histogram (#5540)
+  * Fix clim_percentile (#5495)
+  * Compatibility with Shapely 2.0 (#5561)
+  * Compatibility with Numpy 1.24 (#5581)
+  * Compatibility with Ibis 4.0 (#5588)
+- Release to 1.15.3
+  * Fix for empty opts warning and incorrect clearing semantics
+    (#5496)
+  * Fix potential race condition in the Options system (#5535)
+  * Add support to Python 3.11 (#5513)
+  * Cleanup the top __init__ module (#5516)
+- PEP517 build
+
+-------------------------------------------------------------------

Old:
----
  holoviews-1.15.2.tar.gz

New:
----
  _constraints
  holoviews-1.15.4.tar.gz
  holoviews-pr5649-ipykernel.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-holoviews.spec ++++++
--- /var/tmp/diff_new_pack.Umvs1S/_old  2023-04-03 17:46:12.554863194 +0200
+++ /var/tmp/diff_new_pack.Umvs1S/_new  2023-04-03 17:46:12.562869392 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-holoviews
 #
-# 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,7 +18,7 @@
 
 %bcond_without  test
 Name:           python-holoviews
-Version:        1.15.2
+Version:        1.15.4
 Release:        0
 Summary:        Composable, declarative visualizations for Python
 License:        BSD-3-Clause
@@ -26,15 +26,19 @@
 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 holoviews-pr5649-ipykernel.patch gh#holoviz/holoviews#5649
+Patch0:         holoviews-pr5649-ipykernel.patch
 BuildRequires:  %{python_module colorcet}
 BuildRequires:  %{python_module numpy >= 1.0}
 BuildRequires:  %{python_module packaging}
 BuildRequires:  %{python_module pandas >= 0.20}
 BuildRequires:  %{python_module panel >= 0.13.1}
 BuildRequires:  %{python_module param >= 1.9.3}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pyct >= 0.4.4}
 BuildRequires:  %{python_module pyviz-comms >= 0.7.4}
 BuildRequires:  %{python_module setuptools >= 30.3.0}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-colorcet
@@ -73,9 +77,8 @@
 # see https://github.com/holoviz/holoviews/pull/5507,
 # but we need to pin it here in order to avoid obs resolver conflicts
 BuildRequires:  %{python_module bokeh >= 2.4.3 with %python-bokeh < 2.5}
-BuildRequires:  %{python_module dash >= 1.16}
+BuildRequires:  %{python_module dash >= 1.16 if %python-base < 3.11}
 BuildRequires:  %{python_module dask}
-BuildRequires:  %{python_module datashader >= 0.11.1}
 BuildRequires:  %{python_module deepdiff}
 BuildRequires:  %{python_module ffmpeg-python}
 BuildRequires:  %{python_module ipython >= 5.4.0}
@@ -88,13 +91,15 @@
 BuildRequires:  %{python_module notebook}
 BuildRequires:  %{python_module plotly >= 4.0}
 BuildRequires:  %{python_module pscript >= 0.7.1}
+BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module rfc3986}
 BuildRequires:  %{python_module scikit-image}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module shapely}
 BuildRequires:  %{python_module streamz >= 0.5.0}
-BuildRequires:  %{python_module xarray >= 0.10.4}
+BuildRequires:  %{python_module xarray >= 0.10.4 if %python-base >= 3.9}
+BuildRequires:  %{python_module datashader >= 0.11.1 if (%python-base < 3.11 
with %python-base >= 3.9)}
 %endif
 %python_subpackages
 
@@ -111,14 +116,13 @@
 (such as Bokeh or Matplotlib).
 
 %prep
-%setup -q -n holoviews-%{version}
-%autopatch -p1
+%autosetup -p1 -n holoviews-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %python_clone -a %{buildroot}%{_bindir}/holoviews
@@ -133,8 +137,12 @@
 %check
 #different size in MPL >= 3.3
 donttest="(MPLRendererTest and test_get_size)"
+# Flaky: Different matplotlib color cycles?
+donttest+=" or StatisticalCompositorTest"
 # gh#holoviz/holoviews#5517
 donttest+=" or test_py2js_funcformatter"
+# Date mismatch (bokeh)
+donttest+=" or (TestPointerCallbacks and 
test_pointer_x_datetime_out_of_bounds)"
 # These fail on 32-bit -- gh#holoviz/holoviews#4778
 if [[ $(getconf LONG_BIT) -eq 32 ]]; then
     donttest+=" or (DatashaderAggregateTests and 
test_rasterize_regrid_and_spikes_overlay)"
@@ -164,14 +172,15 @@
     donttest+=" or (TestLinkSelectionsBokeh and test_datashade_selection)"
     donttest+=" or (TestLinkSelectionsPlotly and 
test_datashade_in_overlay_selection)"
     donttest+=" or (TestLinkSelectionsPlotly and test_datashade_selection)"
-    donttest+=" or (TestPointerCallbacks and 
test_pointer_x_datetime_out_of_bounds)"
     donttest+=" or (TestPointerCallbacks and test_tap_datetime_out_of_bounds)"
     donttest+=" or (DatashaderRasterizeTests and test_rasterize_dask_trimesh)"
     donttest+=" or (DatashaderRasterizeTests and 
test_rasterize_dask_trimesh_implicit_nodes)"
     donttest+=" or (DatashaderRasterizeTests and 
test_rasterize_dask_trimesh_with_node_vdims)"
     donttest+=" or (DatashaderRasterizeTests and 
test_rasterize_pandas_trimesh_implicit_nodes)"
 fi
-%pytest holoviews -k "not ($donttest)"
+# no dash in python311 yet
+python311_ignore="--ignore holoviews/tests/plotting/plotly/test_dash.py"
+%pytest -n auto holoviews -k "not ($donttest)" ${$python_ignore}
 %endif
 
 %post
@@ -184,7 +193,7 @@
 %license LICENSE.txt
 %doc CHANGELOG.md README.md
 %python_alternative %{_bindir}/holoviews
-%{python_sitelib}/holoviews-%{version}*-info
+%{python_sitelib}/holoviews-%{version}.dist-info
 %{python_sitelib}/holoviews/
 
 %changelog

++++++ _constraints ++++++
<constraints>
  <hardware>
  <disk>
    <size unit="G">10</size>
  </disk>
  </hardware>
</constraints> 

++++++ holoviews-1.15.2.tar.gz -> holoviews-1.15.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-holoviews/holoviews-1.15.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-holoviews.new.9019/holoviews-1.15.4.tar.gz 
differ: char 5, line 1

++++++ holoviews-pr5649-ipykernel.patch ++++++
>From 82df53e25144a76d8f4e16876433e6de6270f85c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= <[email protected]>
Date: Wed, 8 Mar 2023 14:05:51 +0100
Subject: [PATCH 1/4] Handle asyncio warnings

---
 holoviews/tests/conftest.py | 12 ++++++++++++
 pyproject.toml              |  2 ++
 2 files changed, 14 insertions(+)

Index: holoviews-1.15.4/holoviews/tests/conftest.py
===================================================================
--- holoviews-1.15.4.orig/holoviews/tests/conftest.py
+++ holoviews-1.15.4/holoviews/tests/conftest.py
@@ -1,7 +1,19 @@
+import asyncio
+
 import pytest
 
 from panel.io import state
 
+# Tornado 6.2 has deprecated the use of IOLoop.current,
+# when no asyncio event loop is running.
+# This will start an event loop.
+try:
+    asyncio.get_running_loop()
+except RuntimeError:
+    # Create a new asyncio event loop for this thread.
+    loop = asyncio.new_event_loop()
+    asyncio.set_event_loop(loop)
+
 
 @pytest.fixture(autouse=True)
 def server_cleanup():
Index: holoviews-1.15.4/pyproject.toml
===================================================================
--- holoviews-1.15.4.orig/pyproject.toml
+++ holoviews-1.15.4/pyproject.toml
@@ -24,4 +24,8 @@ filterwarnings = [
     "ignore:`.+?` is a deprecated alias for 
`.+?`.:DeprecationWarning:skimage.util.dtype",  # 
https://github.com/scikit-image/scikit-image/pull/6637
     # 2023-01: Sqlalchemy 2.0 warning:
     "ignore: Deprecated API features 
detected:DeprecationWarning:ibis.backends.base.sql.alchemy",  # 
https://github.com/ibis-project/ibis/issues/5048
+    # 2023-03: https://github.com/tornadoweb/tornado/issues/3216
+    "ignore: make_current is deprecated:DeprecationWarning",
+    # 2023-03: Already handling the nested sequence
+    "ignore:Creating an ndarray from ragged nested 
sequences:numpy.VisibleDeprecationWarning:holoviews.core.data.spatialpandas"
 ]
Index: holoviews-1.15.4/holoviews/tests/plotting/test_comms.py
===================================================================
--- holoviews-1.15.4.orig/holoviews/tests/plotting/test_comms.py
+++ holoviews-1.15.4/holoviews/tests/plotting/test_comms.py
@@ -54,11 +54,3 @@ class TestJupyterComm(ComparisonTestCase
         msg = {'content': {'data': 'Test'}}
         decoded = JupyterComm.decode(msg)
         self.assertEqual(decoded, 'Test')
-
-    def test_on_msg(self):
-        def raise_error(msg):
-            if msg == 'Error':
-                raise Exception()
-        comm = JupyterComm(id='Test', on_msg=raise_error)
-        with self.assertRaises(Exception):
-            comm._handle_msg({'content': {'data': 'Error'}})
Index: holoviews-1.15.4/setup.py
===================================================================
--- holoviews-1.15.4.orig/setup.py
+++ holoviews-1.15.4/setup.py
@@ -40,8 +40,6 @@ extras_require['tests_core'] = [
     'dash >=1.16',
     'codecov',
     'ipython >=5.4.0',
-    # Issues with comm (see https://github.com/ipython/ipykernel/issues/1026)
-    'ipykernel <6.18.0',
 ]
 
 # Optional tests dependencies, i.e. one should be able

++++++ python-holoviews-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.Umvs1S/_old  2023-04-03 17:46:12.642931381 +0200
+++ /var/tmp/diff_new_pack.Umvs1S/_new  2023-04-03 17:46:12.642931381 +0200
@@ -1,5 +1,3 @@
 # internal version info
 addFilter("hidden-file-or-dir .*/holoviews/\.version")
-# the tests directory is referenced by the main code (util/_exception.py)
-addFilter("python-tests-in-package .*/holoviews/tests")
 

Reply via email to