2025-04-25 09:03:26 +00:00
committed by Git OBS Bridge
parent 4b3fd2a87e
commit 8506fe91e2
3 changed files with 137 additions and 6 deletions

View File

@@ -23,6 +23,8 @@ Summary: A simple pytest plugin to run tests concurrently
License: MIT
URL: https://github.com/Quansight-Labs/pytest-run-parallel
Source: https://files.pythonhosted.org/packages/source/p/pytest-run-parallel/pytest_run_parallel-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/Quansight-Labs/pytest-run-parallel/pull/54 attempt to fix 32 bit architectures
Patch: i586.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.0.0}
@@ -34,6 +36,7 @@ BuildRequires: %{python_module hypothesis}
BuildRequires: fdupes
Requires: python-pytest >= 6.2.0
Suggests: python-psutil >= 6.1.1
BuildArch: noarch
%python_subpackages
%description
@@ -50,12 +53,7 @@ A simple pytest plugin to run tests concurrently
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# tests are broken on 32 bit https://github.com/Quansight-Labs/pytest-run-parallel/issues/53
%ifarch %ix86
exit 0
%else
%pytest
%endif
%files %{python_files}
%license LICENSE