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 2023-05-20 17:24:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-qt (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-qt.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-qt"
Sat May 20 17:24:11 2023 rev:11 rq:1088038 version:4.2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-qt/python-pytest-qt.changes
2022-11-30 15:01:21.669842828 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-qt.new.1533/python-pytest-qt.changes
2023-05-20 17:24:13.589751642 +0200
@@ -1,0 +2,7 @@
+Sat May 20 08:32:01 UTC 2023 - Ben Greiner <[email protected]>
+
+- Skip failing exception tests with pyside6
+ * gh#pytest-dev/pytest-qt#488
+- Use PEP517
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-qt.spec ++++++
--- /var/tmp/diff_new_pack.Casw5Z/_old 2023-05-20 17:24:14.081754442 +0200
+++ /var/tmp/diff_new_pack.Casw5Z/_new 2023-05-20 17:24:14.085754465 +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
@@ -16,7 +16,6 @@
#
-%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == ""
%define psuffix %{nil}
@@ -56,6 +55,8 @@
# pyside is for the primary python3 flavor only
%define pythons python3
%define test_qtapi pyside6
+# invalid traceback gh#pytest-dev/pytest-qt#488
+%define testflavorargs --ignore tests/test_exceptions.py
%bcond_without test
BuildRequires: %{python_module pyside6}
BuildConflicts: %{python_module PyQt6}
@@ -72,8 +73,10 @@
URL: https://github.com/pytest-dev/pytest-qt
Source:
https://files.pythonhosted.org/packages/source/p/pytest-qt/pytest-qt-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210608
@@ -110,12 +113,12 @@
%if ! %{with test}
%build
-%python_build
+%pyproject_wheel
%endif
%if ! %{with test}
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -123,7 +126,7 @@
%check
export QT_QPA_PLATFORM=offscreen
export PYTEST_QT_API=%{test_qtapi}
-%pytest
+%pytest %{?testflavorargs}
%endif
%if ! %{with test}
@@ -131,7 +134,7 @@
%license LICENSE
%doc CHANGELOG.rst README.rst
%{python_sitelib}/pytestqt
-%{python_sitelib}/pytest_qt-%{version}-py*.egg-info
+%{python_sitelib}/pytest_qt-%{version}.dist-info
%endif
%changelog