From f85cd5a7b930b7f280d7ecf70e01aab010b9ea29 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 6 Nov 2023 12:45:05 +0200 Subject: [PATCH] Enable riscv64 Ignore failing tests and increase the test timeout. Signed-off-by: David Abdurachmanov Signed-off-by: Richard W.M. Jones (cherry picked from commit 28e51aacc735b173847740124637c746d11dbcdc) --- scipy.spec | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/scipy.spec b/scipy.spec index 292864d..af6d04c 100644 --- a/scipy.spec +++ b/scipy.spec @@ -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 - 1.11.3-10 +- Enable riscv64 + * Tue May 28 2024 Pavel Simovec - 1.11.3-9 - Remove python-pooch optional dependency from RHEL - Related: RHELMISC-5321