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 2024-07-14 08:51:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-qtconsole (Old)
 and      /work/SRC/openSUSE:Factory/.python-qtconsole.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-qtconsole"

Sun Jul 14 08:51:26 2024 rev:33 rq:1187193 version:5.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-qtconsole/python-qtconsole.changes        
2024-03-08 18:10:56.942042200 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-qtconsole.new.17339/python-qtconsole.changes 
    2024-07-14 08:54:38.361534178 +0200
@@ -1,0 +2,9 @@
+Fri Jul 12 15:07:15 UTC 2024 - Ben Greiner <[email protected]>
+
+- Update to 5.5.2
+  * Check if kernel manager is available in case the console is
+    connected to an externally launched kernel.
+  * Use string representation for a QKeySequence construction to
+    avoid an error in PySide6.
+
+-------------------------------------------------------------------

Old:
----
  qtconsole-5.5.1.tar.gz

New:
----
  qtconsole-5.5.2.tar.gz

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

Other differences:
------------------
++++++ python-qtconsole.spec ++++++
--- /var/tmp/diff_new_pack.0YlVaJ/_old  2024-07-14 08:54:39.693583118 +0200
+++ /var/tmp/diff_new_pack.0YlVaJ/_new  2024-07-14 08:54:39.701583412 +0200
@@ -16,14 +16,13 @@
 #
 
 
-%define skip_python39 1
 %if 0%{?suse_version} > 1500
 %bcond_without libalternatives
 %else
 %bcond_with libalternatives
 %endif
 Name:           python-qtconsole
-Version:        5.5.1
+Version:        5.5.2
 Release:        0
 Summary:        Jupyter Qt console
 License:        BSD-3-Clause

++++++ qtconsole-5.5.1.tar.gz -> qtconsole-5.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/.github/workflows/linux-tests.yml 
new/qtconsole-5.5.2/.github/workflows/linux-tests.yml
--- old/qtconsole-5.5.1/.github/workflows/linux-tests.yml       2023-10-19 
17:09:05.000000000 +0200
+++ new/qtconsole-5.5.2/.github/workflows/linux-tests.yml       2024-05-05 
03:53:54.000000000 +0200
@@ -3,10 +3,10 @@
 on:
   push:
     branches:
-    - master
+    - main
   pull_request:
     branches:
-    - master
+    - main
   workflow_dispatch:
 
 concurrency:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/.github/workflows/macos-tests.yml 
new/qtconsole-5.5.2/.github/workflows/macos-tests.yml
--- old/qtconsole-5.5.1/.github/workflows/macos-tests.yml       2023-10-19 
17:09:05.000000000 +0200
+++ new/qtconsole-5.5.2/.github/workflows/macos-tests.yml       2024-05-05 
03:53:54.000000000 +0200
@@ -3,10 +3,10 @@
 on:
   push:
     branches:
-    - master
+    - main
   pull_request:
     branches:
-    - master
+    - main
 
 concurrency:
   group: macos-tests-${{ github.ref }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/.github/workflows/windows-tests.yml 
new/qtconsole-5.5.2/.github/workflows/windows-tests.yml
--- old/qtconsole-5.5.1/.github/workflows/windows-tests.yml     2023-10-19 
17:09:05.000000000 +0200
+++ new/qtconsole-5.5.2/.github/workflows/windows-tests.yml     2024-05-05 
03:53:54.000000000 +0200
@@ -3,10 +3,10 @@
 on:
   push:
     branches:
-    - master
+    - main
   pull_request:
     branches:
-    - master
+    - main
 
 concurrency:
   group: windows-tests-${{ github.ref }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/.readthedocs.yaml 
new/qtconsole-5.5.2/.readthedocs.yaml
--- old/qtconsole-5.5.1/.readthedocs.yaml       1970-01-01 01:00:00.000000000 
+0100
+++ new/qtconsole-5.5.2/.readthedocs.yaml       2024-05-05 03:35:40.000000000 
+0200
@@ -0,0 +1,25 @@
+# .readthedocs.yaml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Set the version of Python and other tools you might need
+build:
+  os: ubuntu-22.04
+  tools:
+    python: "mambaforge-4.10"
+
+sphinx:
+  builder: html
+  fail_on_warning: true
+  configuration: docs/source/conf.py
+
+conda:
+  environment: docs/environment.yml
+
+python:
+  install:
+    - method: pip
+      path: .
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/PKG-INFO new/qtconsole-5.5.2/PKG-INFO
--- old/qtconsole-5.5.1/PKG-INFO        2023-11-15 23:57:05.745229000 +0100
+++ new/qtconsole-5.5.2/PKG-INFO        2024-05-05 17:55:09.689656500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: qtconsole
-Version: 5.5.1
+Version: 5.5.2
 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.5.1/docs/source/changelog.rst 
new/qtconsole-5.5.2/docs/source/changelog.rst
--- old/qtconsole-5.5.1/docs/source/changelog.rst       2023-11-15 
23:54:15.000000000 +0100
+++ new/qtconsole-5.5.2/docs/source/changelog.rst       2024-05-05 
17:50:54.000000000 +0200
@@ -8,6 +8,16 @@
 5.5
 ~~~
 
+5.5.2
+-----
+
+`5.5.2 on GitHub <https://github.com/jupyter/qtconsole/milestones/5.5.2>`__
+
+* Check if kernel manager is available in case the console is connected to an
+  externally launched kernel.
+* Use string representation for a QKeySequence construction to avoid an error
+  in PySide6.
+
 5.5.1
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/docs/source/conf.py 
new/qtconsole-5.5.2/docs/source/conf.py
--- old/qtconsole-5.5.1/docs/source/conf.py     2021-03-17 02:07:09.000000000 
+0100
+++ new/qtconsole-5.5.2/docs/source/conf.py     2024-05-05 03:35:40.000000000 
+0200
@@ -91,7 +91,7 @@
 #
 # This is also used if you do content translation via gettext catalogs.
 # Usually you set "language" from the command line for these cases.
-language = None
+language = "en"
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
@@ -312,4 +312,4 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'https://docs.python.org/3/': None}
+intersphinx_mapping = {"python": ("https://docs.python.org/3/";, None)}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/qtconsole/_version.py 
new/qtconsole-5.5.2/qtconsole/_version.py
--- old/qtconsole-5.5.1/qtconsole/_version.py   2023-11-15 23:55:30.000000000 
+0100
+++ new/qtconsole-5.5.2/qtconsole/_version.py   2024-05-05 17:53:42.000000000 
+0200
@@ -1,2 +1,2 @@
-version_info = (5, 5, 1)
+version_info = (5, 5, 2)
 __version__ = '.'.join(map(str, version_info))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/qtconsole/frontend_widget.py 
new/qtconsole-5.5.2/qtconsole/frontend_widget.py
--- old/qtconsole-5.5.1/qtconsole/frontend_widget.py    2023-10-19 
16:46:51.000000000 +0200
+++ new/qtconsole-5.5.2/qtconsole/frontend_widget.py    2024-05-05 
03:35:40.000000000 +0200
@@ -189,9 +189,8 @@
 
         # Configure actions.
         action = self._copy_raw_action
-        key = QtCore.Qt.CTRL | QtCore.Qt.SHIFT | QtCore.Qt.Key_C
         action.setEnabled(False)
-        action.setShortcut(QtGui.QKeySequence(key))
+        action.setShortcut(QtGui.QKeySequence("Ctrl+Shift+C"))
         action.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
         action.triggered.connect(self.copy_raw)
         self.copy_available.connect(action.setEnabled)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/qtconsole/qtconsoleapp.py 
new/qtconsole-5.5.2/qtconsole/qtconsoleapp.py
--- old/qtconsole-5.5.1/qtconsole/qtconsoleapp.py       2023-03-11 
21:35:38.000000000 +0100
+++ new/qtconsole-5.5.2/qtconsole/qtconsoleapp.py       2024-05-05 
03:35:40.000000000 +0200
@@ -191,7 +191,7 @@
         # start the kernel
         kwargs = {}
         # FIXME: remove special treatment of IPython kernels
-        if self.kernel_manager.ipykernel:
+        if self.kernel_manager and self.kernel_manager.ipykernel:
             kwargs['extra_arguments'] = self.kernel_argv
         kernel_manager.start_kernel(**kwargs)
         kernel_manager.client_factory = self.kernel_client_class
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/qtconsole/tests/test_comms.py 
new/qtconsole-5.5.2/qtconsole/tests/test_comms.py
--- old/qtconsole-5.5.1/qtconsole/tests/test_comms.py   2021-05-02 
19:44:56.000000000 +0200
+++ new/qtconsole-5.5.2/qtconsole/tests/test_comms.py   2024-05-05 
17:45:27.000000000 +0200
@@ -1,8 +1,9 @@
 import time
 from queue import Empty
-
 import unittest
 
+from flaky import flaky
+
 from qtconsole.manager import QtKernelManager
 
 
@@ -29,7 +30,6 @@
             self._get_next_msg()
             self._get_next_msg()
 
-
     def tearDown(self):
         """Close the kernel."""
         if self.kernel_manager:
@@ -51,6 +51,7 @@
                 pass
         return msg
     
+    @flaky(max_runs=10)
     def test_kernel_to_frontend(self):
         """Communicate from the kernel to the frontend."""
         comm_manager = self.comm_manager
@@ -104,6 +105,7 @@
         msg = self._get_next_msg()
         assert msg['header']['msg_type'] == 'stream'
 
+    @flaky(max_runs=10)
     def test_frontend_to_kernel(self):
         """Communicate from the frontend to the kernel."""
         comm_manager = self.comm_manager
@@ -144,5 +146,6 @@
         assert msg['msg_type'] == 'stream'
         assert msg['content']['text'] == 'close\n'
 
+
 if __name__ == "__main__":
     unittest.main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/qtconsole.egg-info/PKG-INFO 
new/qtconsole-5.5.2/qtconsole.egg-info/PKG-INFO
--- old/qtconsole-5.5.1/qtconsole.egg-info/PKG-INFO     2023-11-15 
23:57:05.000000000 +0100
+++ new/qtconsole-5.5.2/qtconsole.egg-info/PKG-INFO     2024-05-05 
17:55:09.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: qtconsole
-Version: 5.5.1
+Version: 5.5.2
 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.5.1/qtconsole.egg-info/SOURCES.txt 
new/qtconsole-5.5.2/qtconsole.egg-info/SOURCES.txt
--- old/qtconsole-5.5.1/qtconsole.egg-info/SOURCES.txt  2023-11-15 
23:57:05.000000000 +0100
+++ new/qtconsole-5.5.2/qtconsole.egg-info/SOURCES.txt  2024-05-05 
17:55:09.000000000 +0200
@@ -1,12 +1,12 @@
 .coveragerc
 .gitignore
 .mailmap
+.readthedocs.yaml
 CONTRIBUTING.md
 LICENSE
 MANIFEST.in
 README.md
 RELEASE.md
-readthedocs.yml
 setup.py
 .github/workflows/linux-tests.yml
 .github/workflows/macos-tests.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/qtconsole-5.5.1/readthedocs.yml 
new/qtconsole-5.5.2/readthedocs.yml
--- old/qtconsole-5.5.1/readthedocs.yml 2020-10-24 17:40:22.000000000 +0200
+++ new/qtconsole-5.5.2/readthedocs.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-conda:
-    file: docs/environment.yml
-python:
-    version: 3
-    setup_py_install: true

Reply via email to