diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index 6ee3870aad14cf85ef4935643435c1eaeeda7ae9..15b6c486c673f63fa5247e4af3b20d592ef2e8e1 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -1,13 +1,13 @@ # compile dependency issues, scipy-1.73 and numpy-1.22.x don't work well together # see https://github.com/scipy/scipy/issues/15414 -%bcond_with check +%bcond_without check %global srcname scikit-learn Summary: Machine learning in Python Name: python-scikit-learn -Version: 1.1.2 -Release: 5%{?dist} +Version: 1.3.0 +Release: 1%{?dist} License: BSD and MIT URL: http://scikit-learn.org/ Source0: %{pypi_source} @@ -26,7 +26,7 @@ BuildRequires: %{py3_dist numpy scipy} BuildRequires: python3-Cython %if %{with check} BuildRequires: python3-pytest -BuildRequires: %{py3_dist joblib} python3-threadpoolctl >= 2.0.0 +BuildRequires: %{py3_dist joblib} python3-threadpoolctl %endif Provides: python3-sklearn = %{version}-%{release} @@ -49,15 +49,11 @@ scientific and engineering field. export PYTHONDONTWRITEBYTECODE=1 export PYTEST_ADDOPTS='-p no:cacheprovider' pushd %{buildroot}%{python3_sitearch} - pytest \ - --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]" \ - --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]" \ + pytest -v -x \ + --deselect "sklearn/datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[True-liac-arff]" \ + --deselect "sklearn/datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[False-liac-arff]" \ + --deselect "sklearn/datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[True-pandas]" \ + --deselect "sklearn/datasets/tests/test_openml.py::test_fetch_openml_verify_checksum[False-pandas]" \ %ifarch ppc64le --deselect "neural_network/tests/test_mlp.py::test_mlp_regressor_dtypes_casting" \ %endif @@ -73,6 +69,9 @@ popd %{python3_sitearch}/scikit_learn-*.egg-info %changelog +* Wed Sep 27 2023 Wang Guodong - 1.3.0-1 +- Upgrade to version 1.3.0 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 1.1.2-5 - Rebuilt for python 3.11 diff --git a/sources b/sources index cb3df19703ffd80fd86da83acf5804de32954a29..6a8f86ba6ef93cd75fc071e3286bdde204f6938d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (scikit-learn-1.1.2.tar.gz) = 978d406f709aff3a88c2b4f302c55019c787dacfeac03396e72c4b4cd2d3f9142602b6b6b11944291a37dd4f3b1d2b336f3583a585d03763809d26273f77498f +SHA512 (scikit-learn-1.3.0.tar.gz) = 8fc58812750e68b3b3160fdc46f8d485e9584f3bf33470b840fc69d1dfbe3f5b29849bc010e92a0375f109e8e367f9599a4e19accc9f26aca609f6088c77c741