Enable riscv64

Ignore failing tests and increase the test timeout.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
(cherry picked from commit 28e51aacc735b173847740124637c746d11dbcdc)
This commit is contained in:
David Abdurachmanov 2023-11-06 12:45:05 +02:00 committed by Richard W.M. Jones
parent 37adc4b753
commit f85cd5a7b9

View File

@ -36,7 +36,7 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.11.3
Release: 9%{?dist}
Release: 10%{?dist}
# BSD-3-Clause -- whole package except:
# BSD-2-Clause -- scipy/_lib/_pep440.py
@ -282,6 +282,18 @@ not test_shifts and \
not test_svdp'"
%endif
%ifarch riscv64
export PYTEST_ADDOPTS="-k '$SKIP_ALL and \
not TestSchur and \
not test_gejsv_general and \
not test_kendall_p_exact_large and \
not test_gejsv_edge_arguments and \
not test_gh12999 and \
not test_propack and \
not test_milp and \
not test_gejsv_NAG'"
%endif
pushd %{buildroot}/%{python3_sitearch}
# Ignoring the datasets tests as we don't have the optional pooch
# dependency on RHEL.
@ -311,6 +323,9 @@ popd
%endif
%changelog
* Fri Jun 07 2024 Richard W.M. Jones <rjones@redhat.com> - 1.11.3-10
- Enable riscv64
* Tue May 28 2024 Pavel Simovec <psimovec@redhat.com> - 1.11.3-9
- Remove python-pooch optional dependency from RHEL
- Related: RHELMISC-5321