Accepting request 787374 from devel:languages:python:pytest
- Update to 9.0: * Add support for pytest 5.4. * Add support for Python 3.8. * Drop support for python 2.7 OBS-URL: https://build.opensuse.org/request/show/787374 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-rerunfailures?expand=0&rev=5
This commit is contained in:
commit
9638ec3dce
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17c1236b9f8463f74a5df6c807f301c53c2ea1ab81b7509b7e23fab3b7cbe812
|
||||
size 13207
|
3
pytest-rerunfailures-9.0.tar.gz
Normal file
3
pytest-rerunfailures-9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:895ac2a6486c0da0468ae31768b818d9f3f7fceddef110970c7dbb09e7b4b8e4
|
||||
size 10023
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 09:00:46 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 9.0:
|
||||
* Add support for pytest 5.4.
|
||||
* Add support for Python 3.8.
|
||||
* Drop support for python 2.7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 4 11:57:57 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-rerunfailures
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# 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
|
||||
@ -17,8 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pytest-rerunfailures
|
||||
Version: 8.0
|
||||
Version: 9.0
|
||||
Release: 0
|
||||
Summary: A pytest plugin to re-run tests
|
||||
License: MPL-2.0
|
||||
@ -27,12 +28,11 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-rerunfai
|
||||
BuildRequires: %{python_module setuptools >= 40.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 4.4
|
||||
Requires: python-pytest >= 5.0
|
||||
Requires: python-setuptools >= 40.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 4.4}
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: %{python_module pytest >= 5.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@ -42,6 +42,8 @@ tests to eliminate intermittent failures.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-rerunfailures-%{version}
|
||||
# do not depend on mock https://github.com/pytest-dev/pytest-rerunfailures/pull/107
|
||||
sed -i -e 's:import mock:from unittest import mock:g' test_pytest_rerunfailures.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user