c21b40ec28
- update to 4.5.0: * Added official support for Python 3.13. * Dropped support for EOL Python 3.8. * Dropped support for EOL PySide 2. * Type annotations are now provided. Note that because the Qt library used is defined at runtime, Qt classes are currently annotated as Any. * Fixed PySide6 exceptions / warnings about being unable to disconnect signals with qtbot.waitSignal (#552, #558). * Reduced the likelyhood of trouble when using qtbot.waitSignal(s) and qtbot.waitCallback where the signal/callback is emitted from a non-main thread. In theory, more problems remain and this isn't a proper fix yet. In practice, it seems impossible to provoke any problems in pytest-qt's testsuite. - remove fix-pyside6-test.patch
Dirk Mueller2025-09-30 09:17:56 +00:00
e4991be1d0
Accepting request 1283039 from devel:languages:python:pytest
Ana Guerrero2025-06-05 18:35:05 +00:00
f882c3e069
- Drop tests for python3-pyside2 and python-qt5 as Standard Qt 5 support officially ends after 26th of may 2025. (boo#1243916)
Daniel Garcia2025-06-05 10:23:35 +00:00
ba1340276f
- Drop tests for python3-pyside2 and python-qt5 as Standard Qt 5 support officially ends after 26th of may 2025. (boo#1243916)
Daniel Garcia2025-06-05 10:23:35 +00:00
b4863c8fc1
- Add patch to fix a test that fails when building with the latest pyside6 instead of skipping it: * fix-pyside6-test.patch
Matej Cepl2025-02-28 20:22:30 +00:00
95ef5fad5d
Accepting request 1248941 from home:alarrosa:branches:devel:languages:python:pytest
Matej Cepl2025-02-28 20:22:30 +00:00
cfdf07bffd
- Skip test_qtinfo failing test with latest python3-pyside6
Daniel Garcia2025-02-26 13:42:26 +00:00
6b8d5b3058
Accepting request 1248722 from home:dgarcia:branches:devel:languages:python:pytest
Daniel Garcia2025-02-26 13:42:26 +00:00
9dfbc71cad
Accepting request 1180008 from devel:languages:python:pytest
Ana Guerrero2024-06-11 16:31:24 +00:00
660e73eebb
Accepting request 1177527 from home:alarrosa:branches:devel:languages:python:pytest
Daniel Garcia2024-05-29 10:51:09 +00:00
596225e5ca
Accepting request 1177275 from devel:languages:python:pytest
Ana Guerrero2024-05-28 15:29:33 +00:00
b0c1ce367b
- Skip test_destroyed, this test fails with pyside6 6.7.0
Daniel Garcia2024-05-28 06:18:15 +00:00
6eb08c3b4e
Accepting request 1158422 from devel:languages:python:pytest
Ana Guerrero2024-03-17 21:14:50 +00:00
fed9d66259
- update to 4.4.0: * Fixed exception handling so they are properly cleared in Python 3.12, due to the new sys.last_exc attribute (#532).
Dirk Mueller2024-03-16 09:34:55 +00:00
811a80576c
Accepting request 1142160 from devel:languages:python:pytest
Ana Guerrero2024-01-29 21:28:56 +00:00
93b346d60c
Accepting request 1142118 from home:bnavigator:branches:KDE:Qt:PyQt
Matej Cepl2024-01-29 05:43:39 +00:00
b6d7945226
Accepting request 1141695 from devel:languages:python:pytest
Ana Guerrero2024-01-26 21:47:50 +00:00
d96f4a1a95
Accepting request 1141539 from home:bnavigator:branches:devel:languages:python:pytest
Dirk Mueller2024-01-26 09:35:36 +00:00
672426525f
- update to 4.3.1: * Added official support for Python 3.12. * Python 3.7 is no longer supported. * qapp now sets up the QApplication instance with a command line argument like this QApplication([prog_name]) instead of using an empty list QApplication([]). Here prog_name is the name of the app which defaults to pytest-qt-app, but can be redefined in the pytest.ini file, see :ref:qapp fixture<setting-qapp-name>. Alternatively, the arguments that will be passed to QApplication can be defined explicitly using the qapp_args fixture. This means that the default behavior of the qapp_args fixture is now also changed accordingly: it now returns the list [prog_name] instead of an empty list. @The-Compiler_ for the PR.
Dirk Mueller2024-01-05 17:13:09 +00:00
1e14221a84
- 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).
Daniel Garcia2022-11-30 12:27:28 +00:00
0d37ee1048
- Update to 3.3.0: * Improve message in uncaught exceptions by mentioning the Qt event loop instead of Qt virtual methods (#255). * pytest-qt now requires pytest version >= 3.0. * qtbot.addWiget now supports an optional before_close_func keyword-only argument, which if given is a function which is called before the widget is closed, with the widget as first argument.
Tomáš Chvátal
2020-01-06 13:10:59 +00:00