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 2021-04-01 14:16:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-qtconsole (Old) and /work/SRC/openSUSE:Factory/.python-qtconsole.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-qtconsole" Thu Apr 1 14:16:55 2021 rev:16 rq:881807 version:5.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-qtconsole/python-qtconsole.changes 2021-02-01 13:29:40.390240279 +0100 +++ /work/SRC/openSUSE:Factory/.python-qtconsole.new.2401/python-qtconsole.changes 2021-04-01 14:18:11.144061671 +0200 @@ -1,0 +2,7 @@ +Fri Mar 19 17:39:01 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 5.0.3 + * Emit kernel_restarted signal only after a kernel crash. +- move u-a scriptlets to the correct package + +------------------------------------------------------------------- Old: ---- qtconsole-5.0.2.tar.gz New: ---- qtconsole-5.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-qtconsole.spec ++++++ --- /var/tmp/diff_new_pack.XeGMTU/_old 2021-04-01 14:18:11.624062418 +0200 +++ /var/tmp/diff_new_pack.XeGMTU/_new 2021-04-01 14:18:11.628062424 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-qtconsole -Version: 5.0.2 +Version: 5.0.3 Release: 0 Summary: Jupyter Qt console License: BSD-3-Clause @@ -44,6 +44,8 @@ Requires: python-jupyter-client >= 4.1 Requires: python-jupyter-core Requires: python-traitlets +Requires(post): update-alternatives +Requires(postun):update-alternatives Provides: python-jupyter_qtconsole = %{version} Obsoletes: python-jupyter_qtconsole < %{version} BuildArch: noarch @@ -115,12 +117,13 @@ %check export QT_QPA_PLATFORM="offscreen" # test skips: https://github.com/jupyter/qtconsole/issues/443 -%pytest -k "not (test_00 and (test_scroll or test_debug))" +# now with test_input too. But does not seem to happen on the build server, only locally. +%pytest -k "not (test_00 and (test_scroll or test_debug or test_input))" -%post -n jupyter-qtconsole +%post %python_install_alternative jupyter-qtconsole -%postun -n jupyter-qtconsole +%postun %python_uninstall_alternative jupyter-qtconsole %files %{python_files} ++++++ qtconsole-5.0.2.tar.gz -> qtconsole-5.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.0.2/PKG-INFO new/qtconsole-5.0.3/PKG-INFO --- old/qtconsole-5.0.2/PKG-INFO 2021-01-21 18:30:43.370558000 +0100 +++ new/qtconsole-5.0.3/PKG-INFO 2021-03-16 17:47:06.401562500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qtconsole -Version: 5.0.2 +Version: 5.0.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.0.2/docs/source/changelog.rst new/qtconsole-5.0.3/docs/source/changelog.rst --- old/qtconsole-5.0.2/docs/source/changelog.rst 2021-01-21 18:24:15.000000000 +0100 +++ new/qtconsole-5.0.3/docs/source/changelog.rst 2021-03-16 17:44:00.000000000 +0100 @@ -8,6 +8,13 @@ 5.0 ~~~ +5.0.3 +----- + +`5.0.3 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.0.3>`__ + +* Emit kernel_restarted signal only after a kernel crash. + 5.0.2 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.0.2/qtconsole/_version.py new/qtconsole-5.0.3/qtconsole/_version.py --- old/qtconsole-5.0.2/qtconsole/_version.py 2021-01-21 18:25:51.000000000 +0100 +++ new/qtconsole-5.0.3/qtconsole/_version.py 2021-03-16 17:46:16.000000000 +0100 @@ -1,2 +1,2 @@ -version_info = (5, 0, 2) +version_info = (5, 0, 3) __version__ = '.'.join(map(str, version_info)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.0.2/qtconsole/manager.py new/qtconsole-5.0.3/qtconsole/manager.py --- old/qtconsole-5.0.2/qtconsole/manager.py 2020-11-21 05:27:38.000000000 +0100 +++ new/qtconsole-5.0.3/qtconsole/manager.py 2021-03-16 17:41:57.000000000 +0100 @@ -38,6 +38,7 @@ self._is_restarting = False def start_restarter(self): + """Start restarter mechanism.""" if self.autorestart and self.has_kernel: if self._restarter is None: self._restarter = QtKernelRestarter( @@ -45,16 +46,22 @@ parent=self, log=self.log, ) - self._is_restarting = True + self._restarter.add_callback(self._handle_kernel_restarting) self._restarter.start() def stop_restarter(self): + """Stop restarter mechanism.""" if self.autorestart: if self._restarter is not None: self._restarter.stop() def post_start_kernel(self, **kw): + """Kernel restarted.""" super().post_start_kernel(**kw) if self._is_restarting: self.kernel_restarted.emit() self._is_restarting = False + + def _handle_kernel_restarting(self): + """Kernel has died, and will be restarted.""" + self._is_restarting = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtconsole-5.0.2/qtconsole.egg-info/PKG-INFO new/qtconsole-5.0.3/qtconsole.egg-info/PKG-INFO --- old/qtconsole-5.0.2/qtconsole.egg-info/PKG-INFO 2021-01-21 18:30:40.000000000 +0100 +++ new/qtconsole-5.0.3/qtconsole.egg-info/PKG-INFO 2021-03-16 17:47:03.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: qtconsole -Version: 5.0.2 +Version: 5.0.3 Summary: Jupyter Qt console Home-page: http://jupyter.org Author: Jupyter Development Team