From 3ed2fd0d2739c569afa67f0bd4d3101b37937ca0 Mon Sep 17 00:00:00 2001 From: zhailiangliang Date: Mon, 15 Jul 2024 02:31:53 +0000 Subject: [PATCH] disable test for loongarch64 --- python-scikit-learn.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index 271c2b7..81d4bd4 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -7,7 +7,7 @@ Summary: Machine learning in Python Name: python-scikit-learn Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD and MIT URL: http://scikit-learn.org/ Source0: %{pypi_source} @@ -45,6 +45,7 @@ scientific and engineering field. %py3_install %if %{with check} +%ifnarch loongarch64 %check export PYTHONDONTWRITEBYTECODE=1 export PYTEST_ADDOPTS='-p no:cacheprovider' @@ -64,7 +65,7 @@ pushd %{buildroot}%{python3_sitearch} %endif sklearn popd - +%endif %endif %files -n python3-%{srcname} @@ -74,6 +75,10 @@ popd %{python3_sitearch}/scikit_learn-*.egg-info %changelog +* Mon Jul 15 2024 Liangliang Zhai - 1.3.0-3 +- [Type] other +- [DESC] disable test for loongarch64 + * Thu Jun 6 2024 Shuo Wang - 1.3.0-2 - disable some tests due to low cpython -- Gitee