Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ipywidgets for 
openSUSE:Factory checked in at 2022-01-07 12:45:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipywidgets (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipywidgets.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipywidgets"

Fri Jan  7 12:45:46 2022 rev:8 rq:944470 version:7.6.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipywidgets/python-ipywidgets.changes      
2021-10-18 22:02:37.646112463 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ipywidgets.new.1896/python-ipywidgets.changes
    2022-01-07 12:47:10.711878675 +0100
@@ -1,0 +2,5 @@
+Thu Jan  6 13:13:37 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Add ipywidgets-pr2655-collectionsabc.patch for python310 support
+
+-------------------------------------------------------------------

New:
----
  ipywidgets-pr2655-collectionsabc.patch

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

Other differences:
------------------
++++++ python-ipywidgets.spec ++++++
--- /var/tmp/diff_new_pack.2eIDLX/_old  2022-01-07 12:47:11.191879008 +0100
+++ /var/tmp/diff_new_pack.2eIDLX/_new  2022-01-07 12:47:11.195879012 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ipywidgets
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyter-widgets/ipywidgets
 Source0:        
https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM ipywidgets-pr2655-collectionsabc.patch -- 
gh#jupyter-widgets/ipywidgets#2655
+Patch0:         
https://github.com/jupyter-widgets/ipywidgets/commit/f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1.patch#/ipywidgets-pr2655-collectionsabc.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -59,7 +61,7 @@
 Interactive HTML widgets for Jupyter notebooks and the IPython kernel.
 
 %prep
-%setup -q -n ipywidgets-%{version}
+%autosetup -p1 -n ipywidgets-%{version}
 
 %build
 %python_build

++++++ ipywidgets-pr2655-collectionsabc.patch ++++++
>From f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1 Mon Sep 17 00:00:00 2001
From: Jason Grout <jgro...@bloomberg.net>
Date: Tue, 31 Dec 2019 12:57:52 -0800
Subject: [PATCH] Fix more python 3 deprecations

---
 ipywidgets/widgets/interaction.py            | 2 +-
 ipywidgets/widgets/tests/test_interaction.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ipywidgets/widgets/interaction.py 
b/ipywidgets/widgets/interaction.py
index 3dd7272047..6e3b9fc955 100644
--- a/ipywidgets/widgets/interaction.py
+++ b/ipywidgets/widgets/interaction.py
@@ -246,7 +246,7 @@ def update(self, *args):
         except Exception as e:
             ip = get_ipython()
             if ip is None:
-                self.log.warn("Exception in interact callback: %s", e, 
exc_info=True)
+                self.log.warning("Exception in interact callback: %s", e, 
exc_info=True)
             else:
                 ip.showtraceback()
         finally:
diff --git a/ipywidgets/widgets/tests/test_interaction.py 
b/ipywidgets/widgets/tests/test_interaction.py
index 1ee946744e..c792c5377a 100644
--- a/ipywidgets/widgets/tests/test_interaction.py
+++ b/ipywidgets/widgets/tests/test_interaction.py
@@ -249,7 +249,8 @@ def test_iterable_tuple():
     check_widgets(c, lis=d)
 
 def test_mapping():
-    from collections import Mapping, OrderedDict
+    from collections.abc import Mapping
+    from collections import OrderedDict
     class TestMapping(Mapping):
         def __init__(self, values):
             self.values = values

Reply via email to