Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-qtconsole for openSUSE:Factory checked in at 2023-06-04 00:12:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qtconsole (Old) and /work/SRC/openSUSE:Factory/.python-qtconsole.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qtconsole" Sun Jun 4 00:12:30 2023 rev:29 rq:1090491 version:5.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qtconsole/python-qtconsole.changes 2023-04-24 22:31:37.475657346 +0200 +++ /work/SRC/openSUSE:Factory/.python-qtconsole.new.15902/python-qtconsole.changes 2023-06-04 00:12:33.373517397 +0200 @@ -1,0 +2,6 @@ +Fri Jun 2 12:07:34 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 5.4.3 + * Add missing closed method to QtInProcessChannel. + +------------------------------------------------------------------- Old: ---- qtconsole-5.4.2.tar.gz New: ---- qtconsole-5.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qtconsole.spec ++++++ --- /var/tmp/diff_new_pack.GqIOcI/_old 2023-06-04 00:12:34.049521439 +0200 +++ /var/tmp/diff_new_pack.GqIOcI/_new 2023-06-04 00:12:34.053521463 +0200 @@ -22,7 +22,7 @@ %bcond_with libalternatives %endif Name: python-qtconsole -Version: 5.4.2 +Version: 5.4.3 Release: 0 Summary: Jupyter Qt console License: BSD-3-Clause ++++++ qtconsole-5.4.2.tar.gz -> qtconsole-5.4.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/.gitignore new/qtconsole-5.4.3/.gitignore --- old/qtconsole-5.4.2/.gitignore 2020-10-24 17:40:21.000000000 +0200 +++ new/qtconsole-5.4.3/.gitignore 2023-05-05 19:34:26.000000000 +0200 @@ -21,3 +21,4 @@ .#* .coverage .pytest_cache +.vscode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/PKG-INFO new/qtconsole-5.4.3/PKG-INFO --- old/qtconsole-5.4.2/PKG-INFO 2023-04-02 23:18:07.629845400 +0200 +++ new/qtconsole-5.4.3/PKG-INFO 2023-05-05 19:41:21.943406000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qtconsole -Version: 5.4.2 +Version: 5.4.3 Summary: Jupyter Qt console Home-page: http://jupyter.org Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/docs/source/changelog.rst new/qtconsole-5.4.3/docs/source/changelog.rst --- old/qtconsole-5.4.2/docs/source/changelog.rst 2023-04-02 23:15:37.000000000 +0200 +++ new/qtconsole-5.4.3/docs/source/changelog.rst 2023-05-05 19:37:08.000000000 +0200 @@ -8,6 +8,13 @@ 5.4 ~~~ +5.4.3 +----- + +`5.4.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.4.3>`__ + +* Add missing closed method to QtInProcessChannel. + 5.4.2 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/qtconsole/_version.py new/qtconsole-5.4.3/qtconsole/_version.py --- old/qtconsole-5.4.2/qtconsole/_version.py 2023-04-02 23:17:22.000000000 +0200 +++ new/qtconsole-5.4.3/qtconsole/_version.py 2023-05-05 19:38:42.000000000 +0200 @@ -1,2 +1,2 @@ -version_info = (5, 4, 2) +version_info = (5, 4, 3) __version__ = '.'.join(map(str, version_info)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/qtconsole/inprocess.py new/qtconsole-5.4.3/qtconsole/inprocess.py --- old/qtconsole-5.4.2/qtconsole/inprocess.py 2021-03-17 02:07:09.000000000 +0100 +++ new/qtconsole-5.4.3/qtconsole/inprocess.py 2023-05-05 19:34:26.000000000 +0200 @@ -56,6 +56,10 @@ super().flush() self.process_events() + def closed(self): + """ Function to ensure compatibility with the QtZMQSocketChannel.""" + return False + class QtInProcessHBChannel(SuperQObject, InProcessHBChannel): # This signal will never be fired, but it needs to exist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/qtconsole/tests/test_inprocess_kernel.py new/qtconsole-5.4.3/qtconsole/tests/test_inprocess_kernel.py --- old/qtconsole-5.4.2/qtconsole/tests/test_inprocess_kernel.py 1970-01-01 01:00:00.000000000 +0100 +++ new/qtconsole-5.4.3/qtconsole/tests/test_inprocess_kernel.py 2023-05-05 19:34:26.000000000 +0200 @@ -0,0 +1,31 @@ +"""Test QtInProcessKernel""" + +# Copyright (c) Jupyter Development Team. +# Distributed under the terms of the Modified BSD License. + +import unittest + +from qtconsole.inprocess import QtInProcessKernelManager + + +class InProcessTests(unittest.TestCase): + + def setUp(self): + """Open an in-process kernel.""" + self.kernel_manager = QtInProcessKernelManager() + self.kernel_manager.start_kernel() + self.kernel_client = self.kernel_manager.client() + + def tearDown(self): + """Shutdown the in-process kernel. """ + self.kernel_client.stop_channels() + self.kernel_manager.shutdown_kernel() + + def test_execute(self): + """Test execution of shell commands.""" + # check that closed works as expected + assert not self.kernel_client.iopub_channel.closed() + + # check that running code works + self.kernel_client.execute('a=1') + assert self.kernel_manager.kernel.shell.user_ns.get('a') == 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/qtconsole.egg-info/PKG-INFO new/qtconsole-5.4.3/qtconsole.egg-info/PKG-INFO --- old/qtconsole-5.4.2/qtconsole.egg-info/PKG-INFO 2023-04-02 23:18:07.000000000 +0200 +++ new/qtconsole-5.4.3/qtconsole.egg-info/PKG-INFO 2023-05-05 19:41:21.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qtconsole -Version: 5.4.2 +Version: 5.4.3 Summary: Jupyter Qt console Home-page: http://jupyter.org Author: Jupyter Development Team diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.4.2/qtconsole.egg-info/SOURCES.txt new/qtconsole-5.4.3/qtconsole.egg-info/SOURCES.txt --- old/qtconsole-5.4.2/qtconsole.egg-info/SOURCES.txt 2023-04-02 23:18:07.000000000 +0200 +++ new/qtconsole-5.4.3/qtconsole.egg-info/SOURCES.txt 2023-05-05 19:41:21.000000000 +0200 @@ -73,6 +73,7 @@ qtconsole/tests/test_comms.py qtconsole/tests/test_completion_widget.py qtconsole/tests/test_frontend_widget.py +qtconsole/tests/test_inprocess_kernel.py qtconsole/tests/test_jupyter_widget.py qtconsole/tests/test_kill_ring.py qtconsole/tests/test_styles.py