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 armv7hl
Thanks.
Full change:
============
commit ba9618a5a5906907881291cfb7db443c60767db4
Author: Sergio Pascual <sergiopr(a)fedoraproject.org>
Date: Thu Sep 2 17:58:10 2021 +0200
Fix FTBFS (#1987890)
Skip tests in armv7hl, collection causes core dumpep
diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec
index ab8ebe2..74de339 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.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Machine learning in Python
# sklearn/externals/_arff.py is MIT
# sklearn/src/liblinear is BSD
@@ -56,6 +56,11 @@ BuildRequires: python3-threadpoolctl >= 2.0.0
%if %{with check}
%check
+# check collection crashes in armv7hl
+#
https://koji.fedoraproject.org/koji/taskinfo?taskID=74494216
+%ifarch armv7hl
+%py3_check_import sklearn
+%else
export PYTHONDONTWRITEBYTECODE=1
export PYTEST_ADDOPTS='-p no:cacheprovider'
pushd %{buildroot}%{python3_sitearch}
@@ -65,10 +70,15 @@ pushd %{buildroot}%{python3_sitearch}
--deselect
"datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[True]" \
--deselect
"datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[False]" \
--deselect "cross_decomposition/tests/test_pls.py::test_loadings_converges"
\
+ --deselect "covariance/tests/test_graphical_lasso.py::test_graphical_lasso"
\
+ --deselect
"gaussian_process/tests/test_gpr.py::test_lml_precomputed[kernel3]" \
+ --deselect
"gaussian_process/tests/test_gpr.py::test_lml_precomputed[kernel4]" \
sklearn
popd
%endif
+%endif
+
%files -n python3-%{srcname}
%doc examples/
%license COPYING sklearn/svm/src/liblinear/COPYRIGHT
@@ -76,9 +86,12 @@ popd
%{python3_sitearch}/scikit_learn-*.egg-info
%changelog
+* Wed Aug 25 2021 Sergio Pascual <sergiopr(a)fedoraproject.org> - 0.24.2-2
+- Fix FTBFS (#1987890)
+- Skip tests in armv7hl, collection causes core dumpep
+
* Mon Aug 23 2021 Sergio Pascual <sergiopr(a)fedoraproject.org> - 0.24.2-1
- New upstream source (0.24.2)
-- Fix FTBFS (#1987890)
* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.24.1-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
commit fde064f80daa0fc26b5ba278b1da6aa752f43047
Author: Sergio Pascual <sergiopr(a)fedoraproject.org>
Date: Mon Aug 23 21:14:47 2021 +0200
New upstream source (0.24.2)
Fix FTBFS (#1987890)
diff --git a/.gitignore b/.gitignore
index 4fc777f..387e705 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,3 +20,4 @@
/scikit-learn-0.23.2.tar.gz
/scikit-learn-0.24.0.tar.gz
/scikit-learn-0.24.1.tar.gz
+/scikit-learn-0.24.2.tar.gz
diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec
index 281eab0..ab8ebe2 100644
--- a/python-scikit-learn.spec
+++ b/python-scikit-learn.spec
@@ -11,8 +11,8 @@ simple and efficient, accessible to everybody, and reusable
in various contexts.}
Name: python-scikit-learn
-Version: 0.24.1
-Release: 6%{?dist}
+Version: 0.24.2
+Release: 1%{?dist}
Summary: Machine learning in Python
# sklearn/externals/_arff.py is MIT
# sklearn/src/liblinear is BSD
@@ -64,6 +64,7 @@ pushd %{buildroot}%{python3_sitearch}
--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]" \
+ --deselect "cross_decomposition/tests/test_pls.py::test_loadings_converges"
\
sklearn
popd
%endif
@@ -75,6 +76,10 @@ popd
%{python3_sitearch}/scikit_learn-*.egg-info
%changelog
+* Mon Aug 23 2021 Sergio Pascual <sergiopr(a)fedoraproject.org> - 0.24.2-1
+- New upstream source (0.24.2)
+- Fix FTBFS (#1987890)
+
* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.24.1-6
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index a39c53e..6282d1a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (scikit-learn-0.24.1.tar.gz) =
c515a001460fcad3575ba509ecd833d58419e823215d1e08314d793719967822a092dff755886803052eff6bfb4adaef684fabe37d5fca150ed474858fa503e8
+SHA512 (scikit-learn-0.24.2.tar.gz) =
910e40f4a8e78273f2cb6a897d55cfc2a83643a01aefcac2983e3bfcfdee3dacaf1c5f250e76c149638ae162ad9ee9e2f59801237ded544e3e2cc72f42877f23