Accepting request 753967 from devel:languages:python:pytest
- Update to 8.0: * Explicitly depend on setuptools to ensure installation when working in environments without it OBS-URL: https://build.opensuse.org/request/show/753967 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=4
This commit is contained in:
commit
37a15f2475
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f3c9cf31339bf87b048c09dadb633a81156fa4899527fffc55cde105d04ed5fd
|
||||
size 12755
|
3
pytest-rerunfailures-8.0.tar.gz
Normal file
3
pytest-rerunfailures-8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17c1236b9f8463f74a5df6c807f301c53c2ea1ab81b7509b7e23fab3b7cbe812
|
||||
size 13207
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 11:57:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 8.0:
|
||||
* Explicitly depend on setuptools to ensure installation when
|
||||
working in environments without it
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 13:28:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-rerunfailures
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,20 +18,20 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-rerunfailures
|
||||
Version: 7.0
|
||||
Version: 8.0
|
||||
Release: 0
|
||||
Summary: A pytest plugin to re-run tests
|
||||
License: MPL-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/pytest-dev/pytest-rerunfailures
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfailures/pytest-rerunfailures-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module setuptools >= 40.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 3.8
|
||||
Requires: python-pytest >= 4.4
|
||||
Requires: python-setuptools >= 40.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 3.8}
|
||||
BuildRequires: %{python_module pytest >= 4.4}
|
||||
BuildRequires: python-mock
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@ -51,7 +51,8 @@ tests to eliminate intermittent failures.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user