forked from pool/python-pytest-qt
Accepting request 986276 from home:bnavigator:branches:devel:languages:python:pytest
- Update to version 4.1.0 * pytest-qt now requires Python 3.7+. * Improved PEP-8 aliases definition so they have a smaller call stack depth by one and better parameter suggestions in IDEs. (#383). Thanks @luziferius for the PR. * Updated model tester handling around hasChildren based on Qt's updates. * New qapp_cls fixture returning the QApplication class to use, thus making it easier to use a custom subclass without having to override the whole qapp fixture. Thanks @The-Compiler for the PR. * Updated model tester to track/verify in-flight changes based on Qt's updates. Thanks @The-Compiler for the PR. * New qtbot.screenshot() method which can be used to take a screenshot of the given widget. Thanks @The-Compiler for the PR. - Enable pyside6 test flavor OBS-URL: https://build.opensuse.org/request/show/986276 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-qt?expand=0&rev=13
This commit is contained in:
parent
5dedac22c0
commit
e74f83a471
@ -2,5 +2,5 @@
|
||||
<flavor>test-pyqt5</flavor>
|
||||
<flavor>test-pyqt6</flavor>
|
||||
<flavor>test-pyside2</flavor>
|
||||
<!-- flavor>test-pyside6</flavor -->
|
||||
<flavor>test-pyside6</flavor>
|
||||
</multibuild>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dfc5240dec7eb43b76bcb5f9a87eecae6ef83592af49f3af5f1d5d093acaa93e
|
||||
size 113466
|
3
pytest-qt-4.1.0.tar.gz
Normal file
3
pytest-qt-4.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:027f3d3f5dd04af0530d846cf50fb858f719f7e87c2e4a1c686abd4e0f72172a
|
||||
size 119702
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 1 19:06:12 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 4.1.0
|
||||
* pytest-qt now requires Python 3.7+.
|
||||
* Improved PEP-8 aliases definition so they have a smaller call
|
||||
stack depth by one and better parameter suggestions in IDEs.
|
||||
(#383). Thanks @luziferius for the PR.
|
||||
* Updated model tester handling around hasChildren based on Qt's
|
||||
updates.
|
||||
* New qapp_cls fixture returning the QApplication class to use,
|
||||
thus making it easier to use a custom subclass without having
|
||||
to override the whole qapp fixture. Thanks @The-Compiler for
|
||||
the PR.
|
||||
* Updated model tester to track/verify in-flight changes based on
|
||||
Qt's updates. Thanks @The-Compiler for the PR.
|
||||
* New qtbot.screenshot() method which can be used to take a
|
||||
screenshot of the given widget. Thanks @The-Compiler for the
|
||||
PR.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 21 13:13:18 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Enable pyside6 test flavor
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 12 20:18:59 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -65,13 +65,14 @@ BuildConflicts: %{python_module qt5}
|
||||
%endif
|
||||
|
||||
Name: python-pytest-qt%{psuffix}
|
||||
Version: 4.0.2
|
||||
Version: 4.1.0
|
||||
Release: 0
|
||||
Summary: Pytest support for PyQt and PySide applications
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
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 setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: dos2unix
|
||||
@ -91,9 +92,8 @@ Requires: (python-qt5 or python-PyQt6 or python3-pyside2 or python3-pyside
|
||||
Requires: (python-qt5 or python-PyQt6)
|
||||
%endif
|
||||
%if %{with test}
|
||||
# https://github.com/pytest-dev/pytest-qt/issues/376
|
||||
BuildRequires: %{python_module pytest >= 4.5}
|
||||
BuildRequires: %{python_module pytest-qt = %{version}}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user