Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-qt for
openSUSE:Factory checked in at 2024-01-29 22:28:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-qt (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-qt.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-qt"
Mon Jan 29 22:28:56 2024 rev:16 rq:1142160 version:4.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-qt/python-pytest-qt.changes
2024-01-26 22:48:03.613911449 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-qt.new.1815/python-pytest-qt.changes
2024-01-29 22:29:34.210649442 +0100
@@ -1,0 +2,7 @@
+Sun Jan 28 17:40:13 UTC 2024 - Ben Greiner <[email protected]>
+
+- Don't require any backend. The testing application should
+ specify their set explicitly.
+- Test pyside on SLE15 python module
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-qt.spec ++++++
--- /var/tmp/diff_new_pack.6JUJ7L/_old 2024-01-29 22:29:35.326689835 +0100
+++ /var/tmp/diff_new_pack.6JUJ7L/_new 2024-01-29 22:29:35.342690415 +0100
@@ -17,6 +17,9 @@
%{?sle15_python_module_pythons}
+# pyside is for one flavor only
+%define pyside_python
%{?sle15_python_module_pythons:%pythons}%{!?sle15_python_module_pythons:python3}
+
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == ""
%define psuffix %{nil}
@@ -42,8 +45,7 @@
%endif
%if "%{flavor}" == "test-pyside2"
%define psuffix -%{flavor}
-# pyside is for the primary python3 flavor only
-%define pythons python3
+%{!?sle15_python_module_pythons:%define pythons python3}
%define test_qtapi pyside2
%bcond_without test
BuildRequires: %{python_module pyside2}
@@ -53,8 +55,7 @@
%endif
%if "%{flavor}" == "test-pyside6"
%define psuffix -%{flavor}
-# pyside is for the primary python3 flavor only
-%define pythons python3
+%{!?sle15_python_module_pythons:%define pythons python3}
%define test_qtapi pyside6
# invalid traceback gh#pytest-dev/pytest-qt#488
%define testflavorargs --ignore tests/test_exceptions.py
@@ -89,11 +90,6 @@
Suggests: python-pyside6
Suggests: python-qt5
BuildArch: noarch
-%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
-Requires: (python-qt5 or python-PyQt6 or python3-pyside2 or
python3-pyside6)
-%else
-Requires: (python-qt5 or python-PyQt6)
-%endif
%if %{with test}
BuildRequires: %{python_module pytest-qt = %{version}}
BuildRequires: %{python_module pytest}