Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyface for openSUSE:Factory checked in at 2022-09-23 14:15:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyface (Old) and /work/SRC/openSUSE:Factory/.python-pyface.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyface" Fri Sep 23 14:15:02 2022 rev:9 rq:1005441 version:7.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyface/python-pyface.changes 2022-01-13 23:22:01.620070470 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyface.new.2275/python-pyface.changes 2022-09-23 14:15:36.906036024 +0200 @@ -1,0 +2,37 @@ +Thu Sep 22 11:45:57 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Removed pyface-pr958-qt5deprecation.patch because it's not needed anymore + with the new version + +- Add fix-wx-tests.patch to be able to run all wx tests + +- Update to 7.4.2 + * fixes for Qt workbench backend (#1149) + * fix ConsoleWidget PySide6 issues (#1146, #1147) + * fix default AboutDialog image (#1142) + * remove reference cycle for actions on clean-up (#1143) + * status bar manager not cleaned up properly (#1141) + * expose QOpenGLWidget in a consistent place in pyface.qt (#1138) + * map popup menu coordinates to global (#1137) + * fix issues with last window close on Qt6 (#1136) + * font size and stretch are ints at the toolkit level (#1118) +- Release 7.4.1 + * fix segfaults and memory corruption from dropped QImage references (#1108) +- Release 7.4.0 + * adding intermediate interfaces and classes to collect common roles and + behaviours. + * adding hooks to control widget sizing behaviour within layouts/sizers. + deprecating behavior where a class creates the underlying toolkit widget in + the __init__ method. This was done by a small minority of Widget classes, + now all widgets are able to use two-step creation (first the + instance, then the toolkit object via the create() method). + * creating Qt versions of some widgets, and filling in some gaps in widget + types (particularly for Fields) + * providing image classes that wrap PIL images and NumPy arrays that allow + dynamic images and icons in addition to the resource-based versions. + * providing a toolkit-independent Font class and corresponding trait that + supports similar use-cases to the existing TraitsUI Font trait. + * extracting the menu and toolbar Schema system from Tasks and making it more + generally useable. + +------------------------------------------------------------------- Old: ---- pyface-7.3.0.tar.gz pyface-pr958-qt5deprecation.patch New: ---- fix-wx-tests.patch pyface-7.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyface.spec ++++++ --- /var/tmp/diff_new_pack.rmrw2o/_old 2022-09-23 14:15:39.406041852 +0200 +++ /var/tmp/diff_new_pack.rmrw2o/_new 2022-09-23 14:15:39.414041870 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pyface -Version: 7.3.0 +Version: 7.4.2 Release: 0 Summary: Traits-capable windowing framework # Source code is under BSD but images are under different licenses @@ -28,11 +28,13 @@ Group: Development/Libraries/Python URL: https://github.com/enthought/pyface Source: https://files.pythonhosted.org/packages/source/p/pyface/pyface-%{version}.tar.gz -# PATCH-FIX-UPSTREAM pyface-pr958-qt5deprecation.patch -- gh#/enthought/pyface#958 -Patch0: https://github.com/enthought/pyface/pull/958.patch#/pyface-pr958-qt5deprecation.patch +# PATCH-FIX-OPENSUSE fix-wx-tests.patch +Patch0: fix-wx-tests.patch +BuildRequires: %{python_module Pillow} BuildRequires: %{python_module Pygments} BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module importlib-resources >= 1.1.0} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module qt5} BuildRequires: %{python_module qtwebengine-qt5} BuildRequires: %{python_module setuptools} ++++++ fix-wx-tests.patch ++++++ Index: pyface-7.4.2/pyface/ui/wx/util/tests/test_image_helpers.py =================================================================== --- pyface-7.4.2.orig/pyface/ui/wx/util/tests/test_image_helpers.py +++ pyface-7.4.2/pyface/ui/wx/util/tests/test_image_helpers.py @@ -18,6 +18,11 @@ from ..image_helpers import ( ) +_app = wx.GetApp() +if _app is None: + _app = wx.App() + + class TestImageHelpers(unittest.TestCase): def test_image_to_bitmap(self): ++++++ pyface-7.3.0.tar.gz -> pyface-7.4.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-pyface/pyface-7.3.0.tar.gz /work/SRC/openSUSE:Factory/.python-pyface.new.2275/pyface-7.4.2.tar.gz differ: char 5, line 1