1
0

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-qt?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal 2020-01-06 13:10:59 +00:00 committed by Git OBS Bridge
parent 125469be17
commit 0d37ee1048
4 changed files with 15 additions and 7 deletions

View File

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:714b0bf86c5313413f2d300ac613515db3a1aef595051ab8ba2ffe619dbe8925
size 113439

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jan 6 13:07:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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.
-------------------------------------------------------------------
Thu Jan 31 09:05:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-qt
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-qt
Version: 3.2.2
Version: 3.3.0
Release: 0
Summary: Pytest support for PyQt and PySide applications
License: MIT
@ -26,7 +26,7 @@ Group: Development/Languages/Python
URL: http://github.com/pytest-dev/pytest-qt
Source: https://files.pythonhosted.org/packages/source/p/pytest-qt/pytest-qt-%{version}.tar.gz
Patch0: skip-timeout-tests.patch
BuildRequires: %{python_module pytest >= 2.7.0}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module qt5}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
@ -34,7 +34,7 @@ BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: xvfb-run
Requires: python-pytest >= 2.7.0
Requires: python-pytest >= 3.0
Requires: python-qt5
BuildArch: noarch
%python_subpackages