From 6fad8e30f008920281820925acca97fd1e59827c87c633807268de7eac24c250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Feb 2019 09:52:53 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python:pytest/python-pytest-rerunfailures?expand=0&rev=5 --- pytest-rerunfailures-5.0.tar.gz | 3 --- pytest-rerunfailures-6.0.tar.gz | 3 +++ python-pytest-rerunfailures.changes | 9 +++++++++ python-pytest-rerunfailures.spec | 12 ++++++------ 4 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 pytest-rerunfailures-5.0.tar.gz create mode 100644 pytest-rerunfailures-6.0.tar.gz diff --git a/pytest-rerunfailures-5.0.tar.gz b/pytest-rerunfailures-5.0.tar.gz deleted file mode 100644 index 529a828..0000000 --- a/pytest-rerunfailures-5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5601fcec1ae121a56c1b8b0f92e237aea9f701c3c274a8852c0a1dd7e04cfdf4 -size 10729 diff --git a/pytest-rerunfailures-6.0.tar.gz b/pytest-rerunfailures-6.0.tar.gz new file mode 100644 index 0000000..9bf1825 --- /dev/null +++ b/pytest-rerunfailures-6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:978349ae00687504fd0f9d0970c37199ccd89cbdb0cb8c4ed7ee417ede582b40 +size 12278 diff --git a/python-pytest-rerunfailures.changes b/python-pytest-rerunfailures.changes index 712fc34..57306a0 100644 --- a/python-pytest-rerunfailures.changes +++ b/python-pytest-rerunfailures.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Feb 15 09:52:15 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-pytest-rerunfailures.spec b/python-pytest-rerunfailures.spec index acd9848..b7af35c 100644 --- a/python-pytest-rerunfailures.spec +++ b/python-pytest-rerunfailures.spec @@ -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