Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-scikit-learn for openSUSE:Factory checked in at 2022-06-01 17:34:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old) and /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scikit-learn" Wed Jun 1 17:34:09 2022 rev:17 rq:980051 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes 2022-02-03 23:16:46.340495692 +0100 +++ /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1548/python-scikit-learn.changes 2022-06-01 17:34:22.878720900 +0200 @@ -1,0 +2,54 @@ +Tue May 31 03:09:03 UTC 2022 - Arun Persaud <a...@gmx.de> + +- specfile + * updated numpy, scipy, and matplotlib requirements + +- update to version 1.1.1: + * Enhancement The error message is improved when importing + model_selection.HalvingGridSearchCV, + model_selection.HalvingRandomSearchCV, or impute.IterativeImputer + without importing the experimental flag. #23194 by Thomas Fan. + * Enhancement Added an extension in doc/conf.py to automatically + generate the list of estimators that handle NaN values. #23198 by + Lise Kleiber, Zhehao Liu and Chiara Marmo. + * sklearn.datasets + + Fix Avoid timeouts in datasets.fetch_openml by not passing a + timeout argument, #23358 by Lo??c Est??ve. + * sklearn.decomposition + + Fix Avoid spurious warning in decomposition.IncrementalPCA when + n_samples == n_components. #23264 by Lucy Liu. + * sklearn.feature_selection + + Fix The partial_fit method of feature_selection.SelectFromModel + now conducts validation for max_features and feature_names_in + parameters. #23299 by Long Bao. + * sklearn.metrics + + Fix Fixes metrics.precision_recall_curve to compute + precision-recall at 100% recall. The Precision-Recall curve now + displays the last point corresponding to a classifier that + always predicts the positive class: recall=100% and + precision=class balance. #23214 by St??phane Collot and Max Baak. + * sklearn.preprocessing + + Fix preprocessing.PolynomialFeatures with degree equal to 0 will + raise error when include_bias is set to False, and outputs a + single constant array when include_bias is set to True. #23370 + by Zhehao Liu. + * sklearn.tree + + Fix Fixes performance regression with low cardinality features + for tree.DecisionTreeClassifier, tree.DecisionTreeRegressor, + ensemble.RandomForestClassifier, ensemble.RandomForestRegressor, + ensemble.GradientBoostingClassifier, and + ensemble.GradientBoostingRegressor. #23410 by Lo??c Est??ve. + * sklearn.utils + + Fix utils.class_weight.compute_sample_weight now works with + sparse y. #23115 by kernc. + +- changes from version 1.1.0: +long changelog, see https://scikit-learn.org/stable/whats_new/v1.1.html#version-1-1-0 + +------------------------------------------------------------------- +Mon May 30 10:40:34 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com> + +- Split up to using multibuild per Python version since the test suite + may take a while. + +------------------------------------------------------------------- Old: ---- scikit-learn-1.0.2.tar.gz New: ---- _multibuild scikit-learn-1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-scikit-learn.spec ++++++ --- /var/tmp/diff_new_pack.mu7KPr/_old 2022-06-01 17:34:23.662721827 +0200 +++ /var/tmp/diff_new_pack.mu7KPr/_new 2022-06-01 17:34:23.670721836 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-scikit-learn +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -18,9 +18,32 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test-py38" +%define psuffix -test-py38 +%define skip_python39 1 +%define skip_python310 1 +%bcond_without test +%endif +%if "%{flavor}" == "test-py39" +%define psuffix -test-py39 +%define skip_python38 1 +%define skip_python310 1 +%bcond_without test +%endif +%if "%{flavor}" == "test-py310" +%define psuffix -test-py310 +%define skip_python38 1 +%define skip_python39 1 +%bcond_without test +%endif +%if "%{flavor}" == "" +%define psuffix %{nil} +%bcond_with test +%endif %bcond_with extratest -Name: python-scikit-learn -Version: 1.0.2 +Name: python-scikit-learn%{psuffix} +Version: 1.1.1 Release: 0 Summary: Python modules for machine learning and data mining License: BSD-3-Clause @@ -29,8 +52,8 @@ BuildRequires: %{python_module Cython >= 0.28.5} BuildRequires: %{python_module devel} BuildRequires: %{python_module joblib >= 0.11} -BuildRequires: %{python_module numpy-devel >= 1.14.6} -BuildRequires: %{python_module scipy >= 1.1.0} +BuildRequires: %{python_module numpy-devel >= 1.17.3} +BuildRequires: %{python_module scipy >= 1.3.2} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module threadpoolctl >= 2.0.0} BuildRequires: %{python_module xml} @@ -40,24 +63,27 @@ BuildRequires: openblas-devel BuildRequires: python-rpm-macros Requires: python-joblib >= 0.11 -Requires: python-numpy >= 1.14.6 -Requires: python-scipy >= 1.0.0 +Requires: python-numpy >= 1.17.3 +Requires: python-scipy >= 1.3.2 Requires: python-threadpoolctl >= 2.0.0 Requires: python-xml -Provides: python-sklearn Suggests: python-matplotlib Suggests: python-pandas Suggests: python-seaborn +Provides: python-sklearn %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: sklearn %endif # SECTION test requirements +%if %{with test} BuildRequires: %{python_module pytest >= 4.0} +BuildRequires: %{python_module scikit-learn} %if %{with extratest} -BuildRequires: %{python_module matplotlib >= 2.1.1} +BuildRequires: %{python_module matplotlib >= 3.1.2} BuildRequires: %{python_module pandas >= 0.25.0} BuildRequires: %{python_module scikit-image >= 0.13} %endif +%endif # /SECTION %python_subpackages @@ -71,12 +97,17 @@ rm -rf sklearn/.pytest_cache %build +%if !%{with test} %python_build +%endif %install +%if !%{with test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%endif +%if %{with test} # Precision-related errors on non-x86 platforms %ifarch %{ix86} x86_64 %check @@ -97,14 +128,17 @@ mkdir test_dir pushd test_dir -%pytest_arch -p no:cacheprovider -v -k "not ($NO_TESTS)" %{buildroot}%{$python_sitearch}/sklearn +%pytest_arch -p no:cacheprovider -v -k "not ($NO_TESTS)" %{$python_sitearch}/sklearn popd %endif +%endif +%if !%{with test} %files %{python_files} %license COPYING %doc README.rst %{python_sitearch}/sklearn/ %{python_sitearch}/scikit_learn-%{version}*-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test-py38</package> <package>test-py39</package> <package>test-py310</package> </multibuild> ++++++ scikit-learn-1.0.2.tar.gz -> scikit-learn-1.1.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.0.2.tar.gz /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1548/scikit-learn-1.1.1.tar.gz differ: char 5, line 1