Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-jupyter-client for 
openSUSE:Factory checked in at 2023-01-17 17:34:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-client (Old)
 and      /work/SRC/openSUSE:Factory/.python-jupyter-client.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jupyter-client"

Tue Jan 17 17:34:40 2023 rev:14 rq:1058573 version:7.4.9

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-jupyter-client/python-jupyter-client.changes  
    2022-12-31 11:22:51.448433913 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter-client.new.32243/python-jupyter-client.changes
   2023-01-17 17:34:52.593028897 +0100
@@ -1,0 +2,8 @@
+Sun Jan 15 21:12:25 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 7.4.9
+  * Make Qtconsole work with PyZMQ 25 #914 (@ccordoba12)
+  * [7.x] Remove deprecated zmq imports #916 (@blink1073)
+- Drop py310-ignore-deprecation.patch
+
+-------------------------------------------------------------------

Old:
----
  jupyter_client-7.4.8.tar.gz
  py310-ignore-deprecation.patch

New:
----
  jupyter_client-7.4.9.tar.gz

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

Other differences:
------------------
++++++ python-jupyter-client.spec ++++++
--- /var/tmp/diff_new_pack.tMcmy5/_old  2023-01-17 17:34:53.237032633 +0100
+++ /var/tmp/diff_new_pack.tMcmy5/_new  2023-01-17 17:34:53.241032655 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# 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
@@ -26,15 +26,13 @@
 %endif
 
 Name:           python-jupyter-client%{psuffix}
-Version:        7.4.8
+Version:        7.4.9
 Release:        0
 Summary:        Jupyter protocol implementation and client libraries
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/jupyter/jupyter_client
 Source:         
https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM py310-ignore-deprecation.patch 
gh#jupyter/jupyter_client#713
-Patch0:         py310-ignore-deprecation.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}

++++++ jupyter_client-7.4.8.tar.gz -> jupyter_client-7.4.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/CHANGELOG.md 
new/jupyter_client-7.4.9/CHANGELOG.md
--- old/jupyter_client-7.4.8/CHANGELOG.md       2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyter_client-7.4.9/CHANGELOG.md       2020-02-02 01:00:00.000000000 
+0100
@@ -2,6 +2,26 @@
 
 <!-- <START NEW CHANGELOG ENTRY> -->
 
+## 7.4.9
+
+([Full 
Changelog](https://github.com/jupyter/jupyter_client/compare/v7.4.8...2ee33ce6b19b34cde3956280f7c6b05da27f8db4))
+
+### Bugs fixed
+
+- Make Qtconsole work with PyZMQ 25 
[#914](https://github.com/jupyter/jupyter_client/pull/914) 
([@ccordoba12](https://github.com/ccordoba12))
+
+### Maintenance and upkeep improvements
+
+- \[7.x\] Remove deprecated zmq imports 
[#916](https://github.com/jupyter/jupyter_client/pull/916) 
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this 
release](https://github.com/jupyter/jupyter_client/graphs/contributors?from=2022-12-05&to=2023-01-12&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Ablink1073+updated%3A2022-12-05..2023-01-12&type=Issues)
 | 
[@ccordoba12](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Accordoba12+updated%3A2022-12-05..2023-01-12&type=Issues)
 | 
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Adavidbrochart+updated%3A2022-12-05..2023-01-12&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
 ## 7.4.8
 
 ([Full 
Changelog](https://github.com/jupyter/jupyter_client/compare/v7.4.7...beac94baac163015e8165fde5661aaf026e92364))
@@ -16,8 +36,6 @@
 
 
[@arogozhnikov](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Aarogozhnikov+updated%3A2022-11-16..2022-12-05&type=Issues)
 | 
[@impact27](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Aimpact27+updated%3A2022-11-16..2022-12-05&type=Issues)
 | 
[@kevin-bates](https://github.com/search?q=repo%3Ajupyter%2Fjupyter_client+involves%3Akevin-bates+updated%3A2022-11-16..2022-12-05&type=Issues)
 
-<!-- <END NEW CHANGELOG ENTRY> -->
-
 ## 7.4.7
 
 ([Full 
Changelog](https://github.com/jupyter/jupyter_client/compare/v7.4.6...56df36b535710d2c247a2749deec456c75191af5))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/PKG-INFO 
new/jupyter_client-7.4.9/PKG-INFO
--- old/jupyter_client-7.4.8/PKG-INFO   2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_client-7.4.9/PKG-INFO   2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: jupyter_client
-Version: 7.4.8
+Version: 7.4.9
 Summary: Jupyter protocol implementation and client libraries
 Project-URL: Homepage, https://jupyter.org
 Author-email: Jupyter Development Team <jupy...@googlegroups.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/jupyter_client/_version.py 
new/jupyter_client-7.4.9/jupyter_client/_version.py
--- old/jupyter_client-7.4.8/jupyter_client/_version.py 2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_client-7.4.9/jupyter_client/_version.py 2020-02-02 
01:00:00.000000000 +0100
@@ -2,7 +2,7 @@
 from typing import List
 from typing import Union
 
-__version__ = "7.4.8"
+__version__ = "7.4.9"
 
 # Build up version_info tuple for backwards compatibility
 pattern = r'(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/jupyter_client-7.4.8/jupyter_client/ioloop/restarter.py 
new/jupyter_client-7.4.9/jupyter_client/ioloop/restarter.py
--- old/jupyter_client-7.4.8/jupyter_client/ioloop/restarter.py 2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_client-7.4.9/jupyter_client/ioloop/restarter.py 2020-02-02 
01:00:00.000000000 +0100
@@ -24,7 +24,7 @@
             DeprecationWarning,
             stacklevel=4,
         )
-        from zmq.eventloop import ioloop
+        from tornado import ioloop
 
         return ioloop.IOLoop.current()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/jupyter_client/session.py 
new/jupyter_client-7.4.9/jupyter_client/session.py
--- old/jupyter_client-7.4.8/jupyter_client/session.py  2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_client-7.4.9/jupyter_client/session.py  2020-02-02 
01:00:00.000000000 +0100
@@ -30,6 +30,7 @@
 from typing import Union
 
 import zmq.asyncio
+from tornado.ioloop import IOLoop
 from traitlets import Any
 from traitlets import Bool
 from traitlets import CBytes
@@ -46,7 +47,6 @@
 from traitlets.config.configurable import LoggingConfigurable
 from traitlets.log import get_logger
 from traitlets.utils.importstring import import_item
-from zmq.eventloop.ioloop import IOLoop
 from zmq.eventloop.zmqstream import ZMQStream
 
 from jupyter_client import protocol_version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/jupyter_client/threaded.py 
new/jupyter_client-7.4.9/jupyter_client/threaded.py
--- old/jupyter_client-7.4.8/jupyter_client/threaded.py 2020-02-02 
01:00:00.000000000 +0100
+++ new/jupyter_client-7.4.9/jupyter_client/threaded.py 2020-02-02 
01:00:00.000000000 +0100
@@ -16,10 +16,10 @@
 
 import nest_asyncio  # type:ignore
 import zmq
+from tornado.ioloop import IOLoop
 from traitlets import Instance
 from traitlets import Type
 from zmq import ZMQError
-from zmq.eventloop import ioloop
 from zmq.eventloop import zmqstream
 
 from .session import Session
@@ -48,7 +48,7 @@
         self,
         socket: Optional[zmq.Socket],
         session: Optional[Session],
-        loop: Optional[zmq.eventloop.ioloop.ZMQIOLoop],
+        loop: Optional[IOLoop],
     ) -> None:
         """Create a channel.
 
@@ -71,7 +71,7 @@
         def setup_stream():
             assert self.socket is not None
             self.stream = zmqstream.ZMQStream(self.socket, self.ioloop)
-            self.stream.on_recv(self._handle_recv)  # type:ignore[arg-type]
+            self.stream.on_recv(self._handle_recv)
             evt.set()
 
         assert self.ioloop is not None
@@ -115,20 +115,24 @@
         assert self.ioloop is not None
         self.ioloop.add_callback(thread_send)
 
-    def _handle_recv(self, future_msg: Awaitable) -> None:
+    def _handle_recv(self, msg: Union[List[bytes], Awaitable]) -> None:
         """Callback for stream.on_recv.
 
         Unpacks message, and calls handlers with it.
         """
-        assert self.ioloop is not None
-        msg_list = 
self.ioloop._asyncio_event_loop.run_until_complete(get_msg(future_msg))
+        if asyncio.isfuture(msg):
+            assert self.ioloop is not None
+            loop = self.ioloop._asyncio_event_loop  # type:ignore[attr-defined]
+            msg_list = loop.run_until_complete(get_msg(msg))
+        else:
+            msg_list = msg
         assert self.session is not None
         ident, smsg = self.session.feed_identities(msg_list)
-        msg = self.session.deserialize(smsg)
+        new_msg = self.session.deserialize(smsg)
         # let client inspect messages
         if self._inspect:
-            self._inspect(msg)
-        self.call_handlers(msg)
+            self._inspect(new_msg)
+        self.call_handlers(new_msg)
 
     def call_handlers(self, msg: Dict[str, Any]) -> None:
         """This method is called in the ioloop thread when a message arrives.
@@ -213,8 +217,8 @@
         loop = asyncio.new_event_loop()
         asyncio.set_event_loop(loop)
         nest_asyncio.apply(loop)
-        self.ioloop = ioloop.IOLoop()
-        self.ioloop._asyncio_event_loop = loop
+        self.ioloop = IOLoop()
+        self.ioloop._asyncio_event_loop = loop  # type:ignore[attr-defined]
         # signal that self.ioloop is defined
         self._start_event.set()
         while True:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jupyter_client-7.4.8/pyproject.toml 
new/jupyter_client-7.4.9/pyproject.toml
--- old/jupyter_client-7.4.8/pyproject.toml     2020-02-02 01:00:00.000000000 
+0100
+++ new/jupyter_client-7.4.9/pyproject.toml     2020-02-02 01:00:00.000000000 
+0100
@@ -4,7 +4,7 @@
 
 [project]
 name = "jupyter_client"
-version = "7.4.8"
+version = "7.4.9"
 description = "Jupyter protocol implementation and client libraries"
 keywords = [ "Interactive", "Interpreter", "Shell", "Web",]
 classifiers = [
@@ -93,7 +93,7 @@
 ignore = [".mailmap", "*.yml", "*.yaml"]
 
 [tool.tbump.version]
-current = "7.4.8"
+current = "7.4.9"
 regex = '''
   (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
   ((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
@@ -128,7 +128,7 @@
 
   # Workaround for https://github.com/tornadoweb/tornado/issues/3106
   # (To be fixed in Tornado 6.2)
-  "ignore:There is no current event loop:DeprecationWarning:tornado",
+  "ignore:There is no current event loop:DeprecationWarning",
 
   # ZMQ uses Future internally, which raises a DeprecationWarning
   # When there is no loop running.
@@ -138,6 +138,8 @@
 
   # Workaround for jupyter_core warning.
   "module:Jupyter is migrating its paths to use standard 
platformdirs:DeprecationWarning",
+
+  "ignore:zmq.tests.BaseZMQTestCase is deprecated in pyzmq 
25:DeprecationWarning",
 ]
 
 [tool.mypy]

Reply via email to