The package rpms/python-scikit-learn.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-scikit-learn.git/commit/?i....
Change:
+%ifarch i686
Thanks.
Full change:
============
commit d411d8fccb3c1fc32b97b3829f1757736b545d16
Author: Sergio Pascual <sergiopr(a)fedoraproject.org>
Date: Mon Jul 12 18:03:09 2021 +0200
Disable test in arm
New upstream source (0.24.1)
diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec
index 5229b83..2665e98 100644
--- a/python-scikit-learn.spec
+++ b/python-scikit-learn.spec
@@ -12,7 +12,7 @@ in various contexts.}
Name: python-scikit-learn
Version: 0.24.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Machine learning in Python
# sklearn/externals/_arff.py is MIT
# sklearn/src/liblinear is BSD
@@ -56,16 +56,25 @@ BuildRequires: python3-threadpoolctl >= 2.0.0
%if %{with check}
%check
+# Last test run crashed with bus error in armv7hl
+# I'm sisabling in that arch for the moment
export PYTHONDONTWRITEBYTECODE=1
export PYTEST_ADDOPTS='-p no:cacheprovider'
pushd %{buildroot}%{python3_sitearch}
pytest \
+%ifarch armv7hl
+ --collect-only \
+%endif
--deselect
"metrics/tests/test_common.py::test_not_symmetric_metric[precision_recall_curve]"
\
--deselect
"metrics/tests/test_common.py::test_binary_sample_weight_invariance[precision_recall_curve]"
\
--deselect
"datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[True]" \
--deselect
"datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[False]" \
+%ifarch i686
+ --deselect
"sklearn/covariance/tests/test_graphical_lasso.py::test_graphical_lasso" \
+%endif
sklearn
popd
+# bus error in armvl
%endif
%files -n python3-%{srcname}
@@ -75,7 +84,8 @@ popd
%{python3_sitearch}/scikit_learn-*.egg-info
%changelog
-* Mon Jul 12 2021 Sergio Pascual <sergiopr(a)fedoraproject.org> - 0.24.1-1
+* Mon Jul 12 2021 Sergio Pascual <sergiopr(a)fedoraproject.org> - 0.24.1-2
+- Disable test in arm
- New upstream source (0.24.1)
* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.24.0-2