Overview

Request 1039106 accepted

- 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).

Request History
Daniel Garcia's avatar

dgarcia created request

- 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).


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:30 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:30"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:30"


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:30 got accepted.

openSUSE Build Service is sponsored by