Accepting request 676366 from devel:languages:python:pytest

- Enable tests really
- Update to 6.0:
  * Drop support for pytest version 3.6 and 3.7.
  * Add support for pytest version 4.0 and 4.1.
  * Fixed #77 regression issue introduced in 4.2 related to the rerun attribute on the test report. (#77) (Thanks to @RibeiroAna for the PR).

OBS-URL: https://build.opensuse.org/request/show/676366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2019-02-25 16:51:40 +00:00 committed by Git OBS Bridge
commit 4392f3c2d9
4 changed files with 18 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Feb 15 09:52:15 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Enable tests really
- Update to 6.0:
* Drop support for pytest version 3.6 and 3.7.
* Add support for pytest version 4.0 and 4.1.
* Fixed #77 regression issue introduced in 4.2 related to the rerun attribute on the test report. (#77) (Thanks to @RibeiroAna for the PR).
-------------------------------------------------------------------
Thu Nov 15 00:19:30 UTC 2018 - Todd R <toddrme2178@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-rerunfailures
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-rerunfailures
Version: 5.0
Version: 6.0
Release: 0
Summary: A pytest plugin to re-run tests
License: MPL-2.0
@ -28,11 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfai
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 3.6
Requires: python-pytest >= 3.8
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 3.6}
BuildRequires: %{python_module pytest >= 3.8}
BuildRequires: python-mock
# /SECTION
%python_subpackages
@ -51,7 +51,7 @@ tests to eliminate intermittent failures.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%doc CHANGES.rst README.rst