Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-wxPython for openSUSE:Factory
checked in at 2025-01-23 17:57:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wxPython (Old)
and /work/SRC/openSUSE:Factory/.python-wxPython.new.5589 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wxPython"
Thu Jan 23 17:57:15 2025 rev:29 rq:1239533 version:4.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wxPython/python-wxPython.changes
2024-11-21 15:13:31.496727276 +0100
+++
/work/SRC/openSUSE:Factory/.python-wxPython.new.5589/python-wxPython.changes
2025-01-23 18:01:32.994567204 +0100
@@ -1,0 +2,6 @@
+Mon Jan 20 17:58:04 UTC 2025 - Markéta Machová <[email protected]>
+
+- Add patch python-3.13.1.patch to fix tests with Python 3.13.1
+- Factory is not built on Python 3.10 anymore
+
+-------------------------------------------------------------------
New:
----
python-3.13.1.patch
BETA DEBUG BEGIN:
New:
- Add patch python-3.13.1.patch to fix tests with Python 3.13.1
- Factory is not built on Python 3.10 anymore
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wxPython.spec ++++++
--- /var/tmp/diff_new_pack.c3Xfz1/_old 2025-01-23 18:01:34.954648108 +0100
+++ /var/tmp/diff_new_pack.c3Xfz1/_new 2025-01-23 18:01:34.954648108 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-wxPython
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -98,6 +98,8 @@
# PATCH-FIX-OPENSUSE - Test fixes/additions:
Patch112: 0001-Check-HSV-values-in-image-test.patch
Patch114: wxwidgets-3.2.5.patch
+# PATCH-FIX-UPSTREAM https://github.com/wxWidgets/Phoenix/pull/2678 Fix test
with Python 3.13.1
+Patch115: python-3.13.1.patch
# TODO: Replace deprecated setup.py calls in build.py with PEP517 without
building wxWidgets into the wheel
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module devel}
++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.c3Xfz1/_old 2025-01-23 18:01:35.010650420 +0100
+++ /var/tmp/diff_new_pack.c3Xfz1/_new 2025-01-23 18:01:35.014650585 +0100
@@ -1,5 +1,4 @@
<multibuild>
- <package>python310</package>
<package>python311</package>
<package>python312</package>
<package>python313</package>
++++++ python-3.13.1.patch ++++++
Index: wxPython-4.2.2/unittests/test_cmdproc.py
===================================================================
--- wxPython-4.2.2.orig/unittests/test_cmdproc.py
+++ wxPython-4.2.2/unittests/test_cmdproc.py
@@ -41,19 +41,19 @@ class cmdproc_Tests(wtc.WidgetTestCase):
cmds = cmdproc.GetCommands()
self.assertEqual(len(cmds), 5)
- self.assertEqual([x.value for x in cmds], [True]*5)
+ self.assertEqual([x.value for x in list(cmds)], [True]*5)
self.assertTrue(cmdproc.CanUndo())
self.assertFalse(cmdproc.CanRedo())
cmdproc.Undo()
cmdproc.Undo()
- self.assertEqual([x.value for x in cmds], [True]*3 + [False]*2)
+ self.assertEqual([x.value for x in list(cmds)], [True]*3 + [False]*2)
self.assertTrue(cmdproc.CanRedo())
cmdproc.Redo()
cmdproc.Redo()
- self.assertEqual([x.value for x in cmds], [True]*5)
+ self.assertEqual([x.value for x in list(cmds)], [True]*5)
cmdproc.Undo()
cmdproc.Undo()