forked from pool/python-pytest-run-parallel
- Add i586.patch to fix tests on 32 bit
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-run-parallel?expand=0&rev=3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user