1
0

Accepting request 1137115 from devel:languages:python:pytest

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

OBS-URL: https://build.opensuse.org/request/show/1137115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-qt?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2024-01-05 20:45:53 +00:00 committed by Git OBS Bridge
commit ecac5ea3b1
4 changed files with 26 additions and 8 deletions

BIN
pytest-qt-4.2.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pytest-qt-4.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0256041af78082dfc08e22ccf860aaa878d8029557f03f4bfc2007fc291b1e61
size 125223

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Jan 5 17:11:51 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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.
-------------------------------------------------------------------
Fri Jun 23 19:07:24 UTC 2023 - Ben Greiner <code@bnavigator.de>
@ -159,8 +177,8 @@ Mon Jun 14 15:02:19 UTC 2021 - Ben Greiner <code@bnavigator.de>
* Errors related to the ``qt_compat`` module (such as an invalid
``PYTEST_QT_API`` setting or missing Qt API wrappers) are now shown as a more
human-readable error message rather than an internal pytest error (`#355`_). Thanks
`@The-Compiler`_ for the PR.
`@The-Compiler`_ for the PR.
-------------------------------------------------------------------
Fri Sep 25 09:19:58 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -66,14 +66,14 @@ BuildConflicts: %{python_module qt5}
%{?sle15_python_module_pythons}
Name: python-pytest-qt%{psuffix}
Version: 4.2.0
Version: 4.3.1
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 base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}