Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ipyparallel for 
openSUSE:Factory checked in at 2023-01-01 09:39:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipyparallel (Old)
 and      /work/SRC/openSUSE:Factory/.python-ipyparallel.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ipyparallel"

Sun Jan  1 09:39:05 2023 rev:15 rq:1045944 version:8.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipyparallel/python-ipyparallel.changes    
2022-07-08 14:02:47.322507071 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ipyparallel.new.1563/python-ipyparallel.changes
  2023-01-01 09:39:06.954862970 +0100
@@ -1,0 +2,8 @@
+Sat Dec 31 15:49:11 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Add deprecation warnings filters
+  * ipyparallel-pr729+pr753-deprecationfilters.patch
+  * gh#ipython/ipyparallel#729
+  * gh#ipython/ipyparallel#753
+
+-------------------------------------------------------------------

New:
----
  ipyparallel-pr729+pr753-deprecationfilters.patch

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

Other differences:
------------------
++++++ python-ipyparallel.spec ++++++
--- /var/tmp/diff_new_pack.RU2gXL/_old  2023-01-01 09:39:07.582866405 +0100
+++ /var/tmp/diff_new_pack.RU2gXL/_new  2023-01-01 09:39:07.590866449 +0100
@@ -25,7 +25,9 @@
 URL:            https://github.com/ipython/ipyparallel
 Source:         
https://files.pythonhosted.org/packages/source/i/ipyparallel/ipyparallel-%{version}.tar.gz
 Source99:       python-ipyparallel-rpmlintrc
-# SECTION build-syste requirements
+# PATCH-FIX-UPSTREAM ipyparallel-pr729+pr753-deprecationfilters.patch 
gh#ipython/ipyparallel#729, gh#ipython/ipyparallel#753
+Patch1:         ipyparallel-pr729+pr753-deprecationfilters.patch
+# SECTION build-system requirements
 BuildRequires:  %{python_module hatchling >= 0.25}
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module jupyterlab >= 3}
@@ -108,11 +110,11 @@
 Documentation and help files for ipyparallel.
 
 %prep
-%setup -q -n ipyparallel-%{version}
+%autosetup -p1 -n ipyparallel-%{version}
+sed -i 's/--color=yes//' pyproject.toml
 
 %build
 %pyproject_wheel
-sed -i 's/--color=yes//' pyproject.toml
 
 %install
 %pyproject_install

++++++ ipyparallel-pr729+pr753-deprecationfilters.patch ++++++
>From 7707f25fd6c6e784849fa0ed041b1fd2b30302d4 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ell...@physics.uu.se>
Date: Sat, 25 Jun 2022 12:22:12 +0200
Subject: [PATCH] More backward compatibility

---
 ipyparallel/controller/sqlitedb.py | 7 ++++++-
 pyproject.toml                     | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ipyparallel/controller/sqlitedb.py 
b/ipyparallel/controller/sqlitedb.py
index 406711c4..473ce008 100644
--- a/ipyparallel/controller/sqlitedb.py
+++ b/ipyparallel/controller/sqlitedb.py
@@ -17,7 +17,12 @@
     sqlite3 = None
 
 from dateutil.parser import parse as dateutil_parse
-from jupyter_client.jsonutil import json_default
+
+try:
+    from jupyter_client.jsonutil import json_default
+except ImportError:
+    from jupyter_client.jsonutil import date_default as json_default
+
 from tornado import ioloop
 from traitlets import Dict, Instance, List, Unicode
 
diff --git a/pyproject.toml b/pyproject.toml
index 2e75ca99..6c2de676 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -134,6 +134,7 @@ filterwarnings = [
   "ignore:unclosed file <_io.BufferedRandom>:ResourceWarning",
   # from older versions of ipykernel
   "ignore:the imp module is:DeprecationWarning",
+  "ignore:The distutils package is:DeprecationWarning"
 ]
 
 [tool.tbump]

>From 6073ce3da62a899db2481a32caae40245d37d3aa Mon Sep 17 00:00:00 2001
From: Steven Silvester <steven.silves...@ieee.org>
Date: Wed, 9 Nov 2022 09:23:15 -0600
Subject: [PATCH] Handle deprecation in Jupyter Core

---
 pyproject.toml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 8de7b11d..327c9b12 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -135,7 +135,9 @@ filterwarnings = [
   "ignore:unclosed file <_io.BufferedRandom>:ResourceWarning",
   # from older versions of ipykernel
   "ignore:the imp module is:DeprecationWarning",
-  "ignore:The distutils package is:DeprecationWarning"
+  "ignore:The distutils package is:DeprecationWarning",
+  # new behavior in Jupyter Core 5.0+
+  "module:Jupyter is migrating its paths to use standard 
platformdirs:DeprecationWarning",
 ]
 
 [tool.tbump]

Reply via email to