Accepting request 817663 from home:mcalabkova:branches:devel:languages:python:pytest

- Update to 0.4.2
  * Fixed usage of deprecated pytest-xdist slave aliases (#20).
  * Fixed failing tests on pytest 5
  * Added support for pytest 2.6
  * Fixed failing tests on pytest 2.6
- Drop unneeded patch pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/817663
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-instafail?expand=0&rev=17
This commit is contained in:
Tomáš Chvátal
2020-06-29 10:08:25 +00:00
committed by Git OBS Bridge
parent 5c0d5acc34
commit efc891a02a
5 changed files with 16 additions and 21 deletions

View File

@@ -18,20 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-instafail
Version: 0.4.1.post0
Version: 0.4.2
Release: 0
Summary: Pytest Plugin to Show Failures Instantly
License: BSD-2-Clause
URL: https://github.com/jpvanhal/pytest-instafail
Source: https://files.pythonhosted.org/packages/source/p/pytest-instafail/pytest-instafail-%{version}.tar.gz
Patch0: pytest5.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.9
Requires: python-pytest >= 2.6
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.9}
BuildRequires: %{python_module pytest >= 2.6}
# /SECTION
%python_subpackages
@@ -42,7 +41,6 @@ until the end of test session.
%prep
%setup -q -n pytest-instafail-%{version}
%patch0 -p1
%build
%python_build