Revisions of python-pytest-qt

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1158422 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- 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).
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1141695 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
- %sle15_python_module_pythons must define %pythons before any
  %python_module usage
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1137115 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 14)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1095240 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 13)
Forwarded request #1094952 from bnavigator

- Remove xfail_strict from pytest config
    * pyside2 and py311 XPASS a test, gh#pytest-dev/pytest-qt#419
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1039106 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 10)
- 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).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 761148 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 6)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 670279 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 5)
- Update to 3.2.2:
  * Fix Off-by-one error in modeltester (#249). Thanks @ext-jmmugnes for the PR.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 606759 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 2)
- Enable tests
- Add patch skip-timeout-tests.patch to skip test randomly
  failing in OBS

- specfile:
  * update copyright year
- update to version 2.3.1:
  * PYTEST_QT_API environment variable correctly wins over qt_api ini
    variable if both are set at the same time (#196). Thanks @mochick
    for the PR.
- changes from version 2.3.0:
  * New qapp_args fixture which can be used to pass custom arguments
    to QApplication. Thanks @The-Compiler for the PR.
- changes from version 2.2.1:
  * modeltester now accepts QBrush for BackgroundColorRole and
    TextColorRole (#189). Thanks @p0las for the PR.
- changes from version 2.2.0:
  * pytest-qt now supports PySide2 thanks to @rth!
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 519217 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
Needed by the latest version of spyder and spyder3
Displaying all 17 revisions
openSUSE Build Service is sponsored by