forked from pool/python-pytest-qt
Accepting request 1039106 from devel:languages:python:pytest
- Remove python_module macro definition - Update to 4.2.0: * Import the code sub-package from the correct location rather than the deprecated py package, restoring compatibility with pytest 7.2.0, where py was dropped. Thanks @The-Compiler for the PR. * Use pytest.hookimpl to configure hooks, avoiding a deprecation warning in pytest 7.2.0. Thanks @The-Compiler for the PR. * Now pytest-qt will check if any of the Qt libraries is already imported by the time the plugin loads, and use it if that is the case (#412). Thanks @eyllanesc for the PR. * Most custom pytest-qt exceptions can be accessed via qtbot (for example qtbot.TimeoutError), but it was not always explicit in the documentation that this is the recommended way to access those exceptions, instead of importing them from pytestqt.exceptions. This is now clarified in the documentation and examples, and an alias to ScreenshotError has been added to qtbot so it can be accessed in the same way (#460). OBS-URL: https://build.opensuse.org/request/show/1039106 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-qt?expand=0&rev=10
This commit is contained in:
commit
0f2e733942
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:027f3d3f5dd04af0530d846cf50fb858f719f7e87c2e4a1c686abd4e0f72172a
|
||||
size 119702
|
BIN
pytest-qt-4.2.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-qt-4.2.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 12:26:35 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove python_module macro definition
|
||||
- Update to 4.2.0:
|
||||
* Import the code sub-package from the correct location rather than the
|
||||
deprecated py package, restoring compatibility with pytest 7.2.0, where py
|
||||
was dropped. Thanks @The-Compiler for the PR.
|
||||
* Use pytest.hookimpl to configure hooks, avoiding a deprecation warning in
|
||||
pytest 7.2.0. Thanks @The-Compiler for the PR.
|
||||
* Now pytest-qt will check if any of the Qt libraries is already imported by
|
||||
the time the plugin loads, and use it if that is the case (#412). Thanks
|
||||
@eyllanesc for the PR.
|
||||
* Most custom pytest-qt exceptions can be accessed via qtbot (for example
|
||||
qtbot.TimeoutError), but it was not always explicit in the documentation
|
||||
that this is the recommended way to access those exceptions, instead of
|
||||
importing them from pytestqt.exceptions. This is now clarified in the
|
||||
documentation and examples, and an alias to ScreenshotError has been added
|
||||
to qtbot so it can be accessed in the same way (#460).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 1 19:06:12 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == ""
|
||||
@ -65,7 +64,7 @@ BuildConflicts: %{python_module qt5}
|
||||
%endif
|
||||
|
||||
Name: python-pytest-qt%{psuffix}
|
||||
Version: 4.1.0
|
||||
Version: 4.2.0
|
||||
Release: 0
|
||||
Summary: Pytest support for PyQt and PySide applications
|
||||
License: MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user