Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ipykernel for 
openSUSE:Factory checked in at 2024-06-04 12:50:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipykernel (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipykernel.new.24587 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipykernel"

Tue Jun  4 12:50:28 2024 rev:49 rq:1177273 version:6.29.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipykernel/python-ipykernel.changes        
2024-05-07 18:02:05.735652950 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ipykernel.new.24587/python-ipykernel.changes 
    2024-06-04 12:50:38.842773339 +0200
@@ -1,0 +2,6 @@
+Tue May 28 06:16:03 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch ignore-ipython-deprecationwarning.patch:
+  * Ignore DeprecationWarning raised by IPython 8.24+.
+
+-------------------------------------------------------------------

New:
----
  ignore-ipython-deprecationwarning.patch

BETA DEBUG BEGIN:
  New:
- Add patch ignore-ipython-deprecationwarning.patch:
  * Ignore DeprecationWarning raised by IPython 8.24+.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-ipykernel.spec ++++++
--- /var/tmp/diff_new_pack.8nstCe/_old  2024-06-04 12:50:39.486796710 +0200
+++ /var/tmp/diff_new_pack.8nstCe/_new  2024-06-04 12:50:39.486796710 +0200
@@ -22,9 +22,10 @@
 Release:        0
 Summary:        IPython Kernel for Jupyter
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/ipython/ipykernel
 Source:         
https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#ipython/ipykernel#1242
+Patch0:         ignore-ipython-deprecationwarning.patch
 Provides:       python-jupyter_ipykernel = %{version}
 Obsoletes:      python-jupyter_ipykernel < %{version}
 Provides:       %{python_module ipykernel-doc = %{version}}

++++++ ignore-ipython-deprecationwarning.patch ++++++
>From e2827a6ee80767a815b1f9a6b913faf4f2b731c4 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <ste...@wedontsleep.org>
Date: Tue, 28 May 2024 15:49:36 +1000
Subject: [PATCH] Catch IPython 8.24 DeprecationWarnings

test_pylab with IPython 8.24 and above raises DeprecationWarnings about
backend{s,2gui} being deprecated, causing test failures. Add them into
the IPython list so they are ignored.
---
 pyproject.toml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pyproject.toml b/pyproject.toml
index cdf265f6..d9481564 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -172,6 +172,8 @@ filterwarnings= [
 
   # IPython warnings
   "ignore: `Completer.complete` is pending deprecation since IPython 6.0 and 
will be replaced by `Completer.completions`:PendingDeprecationWarning",
+  "ignore: backends is deprecated since IPython 8.24, backends are managed in 
matplotlib and can be externally registered.:DeprecationWarning",
+  "ignore: backend2gui is deprecated since IPython 8.24, backends are managed 
in matplotlib and can be externally registered.:DeprecationWarning",
 
   # Ignore jupyter_client warnings
   "ignore:unclosed <socket.socket:ResourceWarning",

Reply via email to