Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-QtPy for openSUSE:Factory 
checked in at 2023-09-25 20:03:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-QtPy (Old)
 and      /work/SRC/openSUSE:Factory/.python-QtPy.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-QtPy"

Mon Sep 25 20:03:39 2023 rev:23 rq:1113368 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-QtPy/python-QtPy.changes  2023-06-11 
19:58:23.000282470 +0200
+++ /work/SRC/openSUSE:Factory/.python-QtPy.new.1770/python-QtPy.changes        
2023-09-25 20:56:25.117498784 +0200
@@ -1,0 +2,61 @@
+Sun Sep 24 18:51:40 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.4.0
+  * Add missing issue closed for v2.3.1 changelog entry by
+    @dalthviz in #419
+  * Symmetrize path and location of QLibraryInfo by @StSav012 in
+    #420
+  * Improve import modularity between QtGui, QtWidgets and
+    QtOpenGL* related modules by @DaelonSuzuka in #387
+  * Make CI jobs much faster & less flaky w/Mamba, 1-pass solve &
+    other tweaks by @CAM-Gerlach in #425
+  * Symmetrize QDateTime.toPython and toPyDateTime, etc. by
+    @StSav012 in #421
+  * Use static calls of exec_ elsewhere where needed, and test them
+    by @StSav012 in #422
+  * Enable more tests on CI by @Czaki in #434
+  * Add wrapers to fix argument name in QFileDialog get*methods by
+    @Czaki in #433
+  * Rename utils.py to _utils.py to make it private by @StSav012 in
+    #431
+  * Make exec() for PySide2 by @StSav012 in #438
+  * Replace custom implementation with loadUiType from PySide6 by
+    @JaRoSchm in #440
+  * Update bindings upper bound version to 6.5 and ignore
+    DeprecationWarning (CI) by @dalthviz in #443
+  * Make QMenu.addAction and QToolBar.addAction compatible with Qt6
+    arguments' order by @StSav012 in #437
+  * Restore Qt.ItemFlags access as Qt.ItemFlag alias (PyQt6) by
+    @dalthviz in #444
+  * Add mappings for deprecated QDropEvent pos and posF methods by
+    @dalthviz in #445
+  * Restore QtWidgets.QFileDialog.Options access as
+    QtWidgets.QFileDialog.Option alias (PyQt6) by @dalthviz in #448
+  * Add QEnum macro for PyQt bindings by @phil65 in #424
+  * Improve enum to flags aliasing for PyQt6 and PySide6 > 6.3 and
+    QFileDialog static methods kwarg compatibility by @dalthviz in
+    #449
+  * Update README with information on Pyright/Pylance integration
+    and add CLI subcommand to help generate the related config by
+    @wkrasnicki in #450
+  * Test using PyQt extra packages by @dalthviz in #446
+- Release 2.3.1
+  * Use raise from None when raising QtBindingsNotFoundError in
+    init by @CAM-Gerlach in #391
+  * Fix LibraryLocation -> LibraryPath renaming due to deprecation
+    with Qt6 by @StSav012 in #393
+  * Make warning usage consistant and refine messages by
+    @CAM-Gerlach in #398
+  * Don't make QTextStreamManipulator.exec_ on PyQt5/6 by @StSav012
+    in #404
+  * Remove patch that may be limited to PySide-5.11a1 only by
+    @StSav012 in #407
+  * Add mappings for QMouseEvent methods by @StSav012 in #408
+  * Improve compatibility for QtWidgets and QtGui modules between
+    Qt5 and Qt6 bindings by @StSav012 in #410
+  * Make QtBindingsNotFoundError also inherit from ImportError by
+    @cbrnr in #413
+  * Add compatibility mappings between bindings for all children of
+    QSinglePointEvent by @StSav012 in #417
+
+-------------------------------------------------------------------

Old:
----
  QtPy-2.3.0.tar.gz

New:
----
  QtPy-2.4.0.tar.gz

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

Other differences:
------------------
++++++ python-QtPy.spec ++++++
--- /var/tmp/diff_new_pack.H2v394/_old  2023-09-25 20:56:26.485548205 +0200
+++ /var/tmp/diff_new_pack.H2v394/_new  2023-09-25 20:56:26.485548205 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,7 +37,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-QtPy%{psuffix}
-Version:        2.3.0
+Version:        2.4.0
 Release:        0
 Summary:        Abstraction layer on top of Qt bindings
 License:        MIT
@@ -46,7 +46,9 @@
 Source:         
https://files.pythonhosted.org/packages/source/Q/QtPy/QtPy-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module packaging}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-packaging
@@ -122,11 +124,13 @@
 sed -i '/addopts/ {s/--cov=.*//; s/--color=yes//}' pytest.ini
 
 %build
-%python_build
+%if ! %{with test}
+%pyproject_wheel
+%endif
 
 %install
 %if ! %{with test}
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/qtpy
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
@@ -139,9 +143,11 @@
 pushd empty
 # expects an unset FORCE_QT_API
 donttest_qt_api="test_qt_api_environ"
+# too wide in our setup (and upstream doesn't care: 
https://github.com/spyder-ide/qtpy/issues/371)
+donttest=" or test_qfontmetrics_width"
 %ifarch %{arm} aarch64
 # no QtOpenGL for these platforms
-donttest=" or test_qtopengl"
+donttest+=" or test_qtopengl"
 %endif
 %if %{with pyqt5}
 # no QtSensors in our PyQt5
@@ -167,8 +173,10 @@
 pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api 
$donttest)"
 %endif
 %if %{with pyside6}
+# no pyside6-uic
+donttest_pyside6=" or test_load_ui_type"
 export QT_API=pyside6 FORCE_QT_API=1
-pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api 
$donttest)"
+pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api 
$donttest $donttest_pyside6)"
 %endif
 # Default backend
 unset QT_API
@@ -189,7 +197,7 @@
 %license LICENSE.txt
 %{python_sitelib}/qtpy
 %exclude %{python_sitelib}/qtpy/tests
-%{python_sitelib}/QtPy-%{version}*-info
+%{python_sitelib}/QtPy-%{version}.dist-info
 %python_alternative %{_bindir}/qtpy
 
 %files %{python_files test}

++++++ QtPy-2.3.0.tar.gz -> QtPy-2.4.0.tar.gz ++++++
++++ 6247 lines of diff (skipped)

Reply via email to