- Add upstream patch fix-test_process_initialization.patch

gh#pytest-dev/pytest-xprocess#157 to fix tests in slow machines

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xprocess?expand=0&rev=17
This commit is contained in:
2025-08-07 10:13:23 +00:00
committed by Git OBS Bridge
parent eb6eb9f92d
commit 95cca5edb5
3 changed files with 56 additions and 1 deletions

View File

@@ -24,6 +24,9 @@ Summary: A pytest plugin for managing processes across test runs
License: MIT
URL: https://github.com/pytest-dev/pytest-xprocess
Source: https://files.pythonhosted.org/packages/source/p/pytest-xprocess/pytest-xprocess-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-test_process_initialization.patch gh#pytest-dev/pytest-xprocess#157
# This patch fixes tests in slow machines
Patch0: fix-test_process_initialization.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest >= 2.8}
@@ -43,7 +46,7 @@ during testing. You can also use it to start and pre-configure
test-specific databases (i.e. Postgres, Couchdb).
%prep
%setup -q -n pytest-xprocess-%{version}
%autosetup -p1 -n pytest-xprocess-%{version}
rm -rvf tests/__pycache__
chmod -x README.rst