1
0

- Add pytest5-compat.patch to make the test suite compatible

with pytest 5.4.0+ (gh#pytest-dev/pytest-forked#32)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-forked?expand=0&rev=7
This commit is contained in:
2020-05-12 22:52:02 +00:00
committed by Git OBS Bridge
parent 7453b2fda3
commit 503049e089
3 changed files with 49 additions and 1 deletions
+5 -1
View File
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-forked
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -24,6 +24,9 @@ Summary: Run each test in a forked subprocess
License: MIT
URL: https://github.com/pytest-dev/pytest-forked
Source: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pytest5-compat.patch gh#pytest-dev/pytest-forked#30 mcepl@suse.com
# makes the test suite compatible with pytest5.4.0+
Patch0: pytest5-compat.patch
BuildRequires: %{python_module pytest >= 3.1.0}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
@@ -38,6 +41,7 @@ Extraction of pytest-xdist --forked module used for running tests in forked subp
%prep
%setup -q -n pytest-forked-%{version}
%autopatch -p1
%build
%python_build