commit python-scikit-learn for openSUSE:Factory

2024-09-03 Thread Source-Sync
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 2024-09-03 13:37:32

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.2698 (New)


Package is "python-scikit-learn"

Tue Sep  3 13:37:32 2024 rev:33 rq:1198177 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2024-07-30 11:53:50.232005048 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2698/python-scikit-learn.changes
2024-09-03 13:37:49.135452771 +0200
@@ -1,0 +2,5 @@
+Sun Sep  1 19:25:38 UTC 2024 - Dirk Müller 
+
+- prepare for python 3.13 testin
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.dIA9pZ/_old  2024-09-03 13:37:49.763478955 +0200
+++ /var/tmp/diff_new_pack.dIA9pZ/_new  2024-09-03 13:37:49.767479122 +0200
@@ -33,6 +33,9 @@
 %if "%{flavor}" != "test-py312"
 %define skip_python312 1
 %endif
+%if "%{flavor}" != "test-py313"
+%define skip_python313 1
+%endif
 # Skip empty buildsets, last one is for sle15_python_module_pythons
 %if "%{shrink:%{pythons}}" == "" || ("%pythons" == "python311" && 
0%{?skip_python311})
 ExclusiveArch:  donotbuild


commit python-scikit-learn for openSUSE:Factory

2024-07-30 Thread Source-Sync
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 2024-07-30 11:53:32

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1882 (New)


Package is "python-scikit-learn"

Tue Jul 30 11:53:32 2024 rev:32 rq:1190078 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2024-06-12 15:37:52.197132122 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.1882/python-scikit-learn.changes
2024-07-30 11:53:50.232005048 +0200
@@ -1,0 +2,6 @@
+Mon Jul 29 05:03:23 UTC 2024 - Steve Kowalik 
+
+- Add patch support-pytest-8.3.patch:
+  * Fix property wrapping, uncovered by Pytest 8.3 changes.
+
+---

New:

  support-pytest-8.3.patch

BETA DEBUG BEGIN:
  New:
- Add patch support-pytest-8.3.patch:
  * Fix property wrapping, uncovered by Pytest 8.3 changes.
BETA DEBUG END:



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.1FxuUT/_old  2024-07-30 11:53:50.896031812 +0200
+++ /var/tmp/diff_new_pack.1FxuUT/_new  2024-07-30 11:53:50.900031973 +0200
@@ -51,6 +51,8 @@
 License:BSD-3-Clause
 URL:https://scikit-learn.org/
 Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit_learn-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM One commit from gh#scikit-learn/scikit-learn#29486
+Patch0: support-pytest-8.3.patch
 BuildRequires:  %{python_module Cython >= 3.0.10}
 BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module joblib >= 1.2.0}

++ support-pytest-8.3.patch ++
>From 4650e75e543718b2c0d9cf7c56aa9dda3c670c11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= 
Date: Tue, 23 Jul 2024 05:36:37 +0200
Subject: [PATCH 4/4] [azure parallel] fix wrapping for pytest 8.3.1

---
 sklearn/utils/deprecation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sklearn/utils/deprecation.py b/sklearn/utils/deprecation.py
index a3225597701c7..f72f8b8124f28 100644
--- a/sklearn/utils/deprecation.py
+++ b/sklearn/utils/deprecation.py
@@ -97,7 +97,7 @@ def _decorate_property(self, prop):
 msg = self.extra
 
 @property
-@functools.wraps(prop)
+@functools.wraps(prop.fget)
 def wrapped(*args, **kwargs):
 warnings.warn(msg, category=FutureWarning)
 return prop.fget(*args, **kwargs)


commit python-scikit-learn for openSUSE:Factory

2024-06-12 Thread Source-Sync
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 2024-06-12 15:37:20

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.19518 (New)


Package is "python-scikit-learn"

Wed Jun 12 15:37:20 2024 rev:31 rq:1180116 version:1.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2024-05-07 18:02:16.196033305 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.19518/python-scikit-learn.changes
   2024-06-12 15:37:52.197132122 +0200
@@ -1,0 +2,44 @@
+Tue Jun 11 12:12:02 UTC 2024 - Daniel Garcia 
+
+- Update to 1.5.0 (bsc#1226185, CVE-2024-5206):
+  ## Security
+  * Fix feature_extraction.text.CountVectorizer and
+feature_extraction.text.TfidfVectorizer no longer store discarded
+tokens from the training set in their stop_words_ attribute. This
+attribute would hold too frequent (above max_df) but also too rare
+tokens (below min_df). This fixes a potential security issue (data
+leak) if the discarded rare tokens hold sensitive information from
+the training set without the model developer’s knowledge.
+  ## Changed models
+  * Efficiency The subsampling in preprocessing.QuantileTransformer is
+now more efficient for dense arrays but the fitted quantiles and
+the results of transform may be slightly different than before
+(keeping the same statistical properties). #27344 by Xuefeng Xu.
+  * Enhancement decomposition.PCA, decomposition.SparsePCA and
+decomposition.TruncatedSVD now set the sign of the components_
+attribute based on the component values instead of using the
+transformed data as reference. This change is needed to be able to
+offer consistent component signs across all PCA solvers, including
+the new svd_solver="covariance_eigh" option introduced in this
+release.
+  ## Changes impacting many modules
+  * Fix Raise ValueError with an informative error message when
+passing 1D sparse arrays to methods that expect 2D sparse inputs.
+#28988 by Olivier Grisel.
+  * API Change The name of the input of the inverse_transform method
+of estimators has been standardized to X. As a consequence, Xt is
+deprecated and will be removed in version 1.7 in the following
+estimators: cluster.FeatureAgglomeration,
+decomposition.MiniBatchNMF, decomposition.NMF,
+model_selection.GridSearchCV, model_selection.RandomizedSearchCV,
+pipeline.Pipeline and preprocessing.KBinsDiscretizer. #28756 by
+Will Dean.
+  ## Support for Array API
+  * sklearn.metrics.r2_score now supports Array API compliant inputs.
+#27904 by Eric Lindgren, Franck Charras, Olivier Grisel and Tim
+Head.
+  * linear_model.Ridge now supports the Array API for the svd solver.
+See Array API support (experimental) for more details. #27800 by
+Franck Charras, Olivier Grisel and Tim Head.
+
+---

Old:

  scikit-learn-1.4.2.tar.gz

New:

  scikit_learn-1.5.0.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.IfTtjc/_old  2024-06-12 15:37:54.749225573 +0200
+++ /var/tmp/diff_new_pack.IfTtjc/_new  2024-06-12 15:37:54.753225719 +0200
@@ -45,15 +45,16 @@
 %bcond_with pytestcolor
 
 Name:   python-scikit-learn%{psuffix}
-Version:1.4.2
+Version:1.5.0
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause
 URL:https://scikit-learn.org/
-Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz
-BuildRequires:  %{python_module Cython >= 3.0.8}
+Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit_learn-%{version}.tar.gz
+BuildRequires:  %{python_module Cython >= 3.0.10}
 BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module joblib >= 1.2.0}
+BuildRequires:  %{python_module meson-python}
 BuildRequires:  %{python_module numpy-devel >= 1.19.5}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module scipy >= 1.6.0}
@@ -61,8 +62,14 @@
 BuildRequires:  %{python_module threadpoolctl >= 2.0.0}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
+# Default gcc in leap is gcc 7
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} <= 150600
+BuildRequires:  gcc8-c++
+BuildRequires:  gcc8-fortran
+%else
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
+%endif
 BuildRequires:  openblas-devel
 BuildRequires:  python-rpm-macros
 # Check sklearn/_min

commit python-scikit-learn for openSUSE:Factory

2024-05-07 Thread Source-Sync
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 2024-05-07 18:02:10

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1880 (New)


Package is "python-scikit-learn"

Tue May  7 18:02:10 2024 rev:30 rq:1172097 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2024-04-23 18:54:54.567948168 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.1880/python-scikit-learn.changes
2024-05-07 18:02:16.196033305 +0200
@@ -1,0 +2,5 @@
+Sun May  5 14:49:09 UTC 2024 - Ben Greiner 
+
+- Unlock numpy 2 (but don't force it for build)
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.gZryhQ/_old  2024-05-07 18:02:16.892058614 +0200
+++ /var/tmp/diff_new_pack.gZryhQ/_new  2024-05-07 18:02:16.892058614 +0200
@@ -24,9 +24,6 @@
 %else
 %define psuffix -%{flavor}
 %bcond_without test
-%if "%{flavor}" != "test-py39"
-%define skip_python39 1
-%endif
 %if "%{flavor}" != "test-py310"
 %define skip_python310 1
 %endif
@@ -36,8 +33,8 @@
 %if "%{flavor}" != "test-py312"
 %define skip_python312 1
 %endif
-# Skip all empty test flavors: The obs server-side interpreter cannot use lua 
or rpm shrink, last one is for sle15_python_module_pythons
-%if "%pythons" == "" || "%pythons" == " " || "%pythons" == "  " || "%pythons" 
== "   " || "%pythons" == "" || ( "%pythons" == "python311" && 
0%{?skip_python311} )
+# Skip empty buildsets, last one is for sle15_python_module_pythons
+%if "%{shrink:%{pythons}}" == "" || ("%pythons" == "python311" && 
0%{?skip_python311})
 ExclusiveArch:  donotbuild
 %define python_module() 
%flavor-not-enabled-in-buildset-for-suse-%{?suse_version}
 %endif
@@ -57,7 +54,7 @@
 BuildRequires:  %{python_module Cython >= 3.0.8}
 BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module joblib >= 1.2.0}
-BuildRequires:  %{python_module numpy-devel >= 1.17.3 with %python-numpy-devel 
< 2}
+BuildRequires:  %{python_module numpy-devel >= 1.19.5}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module scipy >= 1.6.0}
 BuildRequires:  %{python_module setuptools}
@@ -70,9 +67,9 @@
 BuildRequires:  python-rpm-macros
 # Check sklearn/_min_dependencies.py for dependencies
 Requires:   python-joblib >= 1.2.0
+Requires:   python-numpy >= 1.19.5
 Requires:   python-scipy >= 1.6.0
 Requires:   python-threadpoolctl >= 2.0.0
-Requires:   (python-numpy >= 1.19.5 with python-numpy < 2)
 Suggests:   python-matplotlib >= 3.3.4
 Suggests:   python-pandas
 Suggests:   python-seaborn

++ _multibuild ++
--- /var/tmp/diff_new_pack.gZryhQ/_old  2024-05-07 18:02:16.924059777 +0200
+++ /var/tmp/diff_new_pack.gZryhQ/_new  2024-05-07 18:02:16.924059777 +0200
@@ -1,5 +1,4 @@
 
-  test-py39
   test-py310
   test-py311
   test-py312


commit python-scikit-learn for openSUSE:Factory

2024-04-23 Thread Source-Sync
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 2024-04-23 18:54:51

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.27645 (New)


Package is "python-scikit-learn"

Tue Apr 23 18:54:51 2024 rev:29 rq:1169326 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2024-02-23 16:40:19.972469699 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.27645/python-scikit-learn.changes
   2024-04-23 18:54:54.567948168 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 09:06:05 UTC 2024 - Dirk Müller 
+
+- update to 1.4.2:
+  * This release only includes support for numpy 2.
+
+---

Old:

  scikit-learn-1.4.1.post1.tar.gz

New:

  scikit-learn-1.4.2.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.x8sNTG/_old  2024-04-23 18:54:55.667987786 +0200
+++ /var/tmp/diff_new_pack.x8sNTG/_new  2024-04-23 18:54:55.671987930 +0200
@@ -48,7 +48,7 @@
 %bcond_with pytestcolor
 
 Name:   python-scikit-learn%{psuffix}
-Version:1.4.1.post1
+Version:1.4.2
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause

++ scikit-learn-1.4.1.post1.tar.gz -> scikit-learn-1.4.2.tar.gz ++
/work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.4.1.post1.tar.gz 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.27645/scikit-learn-1.4.2.tar.gz
 differ: char 5, line 1


commit python-scikit-learn for openSUSE:Factory

2023-11-08 Thread Source-Sync
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 2023-11-08 22:16:36

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.17445 (New)


Package is "python-scikit-learn"

Wed Nov  8 22:16:36 2023 rev:27 rq:1124107 version:1.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-08-14 22:35:15.716226229 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.17445/python-scikit-learn.changes
   2023-11-08 22:16:40.640857560 +0100
@@ -1,0 +2,25 @@
+Tue Nov  7 20:38:08 UTC 2023 - Dirk Müller 
+
+- update to 1.3.2:
+  * All dataset fetchers now accept `data_home` as any object that
+implements the :class:`os.PathLike` interface, for instance,
+:class:`pathlib.Path`.
+  * Fixes a bug in :class:`decomposition.KernelPCA` by forcing the
+output of the internal :class:`preprocessing.KernelCenterer` to
+be a default array. When the arpack solver is used, it expects
+an array with a `dtype` attribute.
+  * Fixes a bug for metrics using `zero_division=np.nan`
+(e.g. :func:`~metrics.precision_score`) within a paralell loop
+(e.g. :func:`~model_selection.cross_val_score`) where the
+singleton for `np.nan` will be different in the sub-processes.
+  * Do not leak data via non-initialized memory in decision tree
+pickle files and make the generation of those files
+deterministic.
+  * Ridge models with `solver='sparse_cg'` may have slightly
+different results with scipy>=1.12, because of an underlying
+change in the scipy solver
+  * The `set_output` API correctly works with list input.
+  * :class:`calibration.CalibratedClassifierCV` can now handle
+models that produce large prediction scores.
+
+---

Old:

  scikit-learn-1.3.0.tar.gz

New:

  scikit-learn-1.3.2.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.MV4fSB/_old  2023-11-08 22:16:42.808937208 +0100
+++ /var/tmp/diff_new_pack.MV4fSB/_new  2023-11-08 22:16:42.820937649 +0100
@@ -44,7 +44,7 @@
 %bcond_with pytestcolor
 %{?sle15_python_module_pythons}
 Name:   python-scikit-learn%{psuffix}
-Version:1.3.0
+Version:1.3.2
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause

++ scikit-learn-1.3.0.tar.gz -> scikit-learn-1.3.2.tar.gz ++
/work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.3.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.17445/scikit-learn-1.3.2.tar.gz
 differ: char 5, line 1


commit python-scikit-learn for openSUSE:Factory

2023-08-14 Thread Source-Sync
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 2023-08-14 22:35:03

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.11712 (New)


Package is "python-scikit-learn"

Mon Aug 14 22:35:03 2023 rev:26 rq:1103058 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-08-06 16:29:22.351624982 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.11712/python-scikit-learn.changes
   2023-08-14 22:35:15.716226229 +0200
@@ -1,0 +2,5 @@
+Wed Aug  9 01:43:32 UTC 2023 - Steve Kowalik 
+
+- Skip another recalcitrant test on 32 bit. 
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.qo2ZZh/_old  2023-08-14 22:35:16.420230705 +0200
+++ /var/tmp/diff_new_pack.qo2ZZh/_new  2023-08-14 22:35:16.424230730 +0200
@@ -127,6 +127,7 @@
 # https://github.com/scikit-learn/scikit-learn/issues/19230
 NO_TESTS+=" or test_convergence_dtype_consistency"
 NO_TESTS+=" or test_imputation_missing_value_in_test_array"
+NO_TESTS+=" or test_graphviz_toy"
 %endif
 %pytest_arch -v --pyargs sklearn -n auto -k "not ($NO_TESTS)"
 popd


commit python-scikit-learn for openSUSE:Factory

2023-08-06 Thread Source-Sync
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 2023-08-06 16:29:19

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.22712 (New)


Package is "python-scikit-learn"

Sun Aug  6 16:29:19 2023 rev:25 rq:1101760 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-07-27 16:50:00.349542158 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.22712/python-scikit-learn.changes
   2023-08-06 16:29:22.351624982 +0200
@@ -1,0 +2,5 @@
+Tue Aug  1 14:07:31 UTC 2023 - Markéta Machová 
+
+- Python flavors shifted again, drop test-py38, add test-py311
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.tM7t1Z/_old  2023-08-06 16:29:22.959628877 +0200
+++ /var/tmp/diff_new_pack.tM7t1Z/_new  2023-08-06 16:29:22.967628928 +0200
@@ -17,22 +17,22 @@
 
 
 %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
+%define skip_python311 1
 %bcond_without test
 %endif
 %if "%{flavor}" == "test-py310"
 %define psuffix -test-py310
-%define skip_python38 1
 %define skip_python39 1
+%define skip_python311 1
+%bcond_without test
+%endif
+%if "%{flavor}" == "test-py311"
+%define psuffix -test-py311
+%define skip_python39 1
+%define skip_python310 1
 %bcond_without test
 %endif
 %if "%{flavor}" == ""

++ _multibuild ++
--- /var/tmp/diff_new_pack.tM7t1Z/_old  2023-08-06 16:29:22.995629108 +0200
+++ /var/tmp/diff_new_pack.tM7t1Z/_new  2023-08-06 16:29:22.999629133 +0200
@@ -1,6 +1,6 @@
 
-  test-py38
   test-py39
   test-py310
+  test-py311
 
 


commit python-scikit-learn for openSUSE:Factory

2023-07-27 Thread Source-Sync
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 2023-07-27 16:49:49

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.32662 (New)


Package is "python-scikit-learn"

Thu Jul 27 16:49:49 2023 rev:24 rq:1100745 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-06-12 15:24:48.414468245 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.32662/python-scikit-learn.changes
   2023-07-27 16:50:00.349542158 +0200
@@ -1,0 +2,24 @@
+Tue Jul 25 08:39:12 UTC 2023 - Markéta Machová 
+
+- Update to 1.3.0
+  * We are in the process of introducing a new way to route metadata 
+such as sample_weight throughout the codebase, which would 
+affect how meta-estimators such as pipeline.Pipeline and 
+model_selection.GridSearchCV route metadata.
+  * Originally hosted in the scikit-learn-contrib repository, 
+cluster.HDBSCAN has been adopted into scikit-learn.
+  * A new category encoding strategy preprocessing.TargetEncoder 
+encodes the categories based on a shrunk estimate of the average 
+target values for observations belonging to that category.
+  * The classes tree.DecisionTreeClassifier and tree.DecisionTreeRegressor 
+now support missing values.
+  * model_selection.ValidationCurveDisplay is now available to plot 
+results from model_selection.validation_curve
+  * The class ensemble.HistGradientBoostingRegressor supports the 
+Gamma deviance loss function via loss="gamma".
+  * Similarly to preprocessing.OneHotEncoder, the class 
preprocessing.OrdinalEncoder 
+now supports aggregating infrequent categories into a single 
+output for each feature.
+  * More changes, see https://scikit-learn.org/stable/whats_new/v1.3.html
+
+---

Old:

  scikit-learn-1.2.1.tar.gz

New:

  scikit-learn-1.3.0.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.5LiLn0/_old  2023-07-27 16:50:01.293547492 +0200
+++ /var/tmp/diff_new_pack.5LiLn0/_new  2023-07-27 16:50:01.297547514 +0200
@@ -44,7 +44,7 @@
 %bcond_with pytestcolor
 %{?sle15_python_module_pythons}
 Name:   python-scikit-learn%{psuffix}
-Version:1.2.1
+Version:1.3.0
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause

++ scikit-learn-1.2.1.tar.gz -> scikit-learn-1.3.0.tar.gz ++
/work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.2.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.32662/scikit-learn-1.3.0.tar.gz
 differ: char 5, line 1


commit python-scikit-learn for openSUSE:Factory

2023-06-12 Thread Source-Sync
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 2023-06-12 15:24:30

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.15902 (New)


Package is "python-scikit-learn"

Mon Jun 12 15:24:30 2023 rev:23 rq:1092217 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-02-13 16:41:28.867568936 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.15902/python-scikit-learn.changes
   2023-06-12 15:24:48.414468245 +0200
@@ -1,0 +2,5 @@
+Sat Jun 10 17:37:09 UTC 2023 - ecsos 
+
+- Add %{?sle15_python_module_pythons}
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.boEHzS/_old  2023-06-12 15:24:49.218473001 +0200
+++ /var/tmp/diff_new_pack.boEHzS/_new  2023-06-12 15:24:49.226473049 +0200
@@ -42,6 +42,7 @@
 %bcond_with extratest
 # enable pytest color output for local debugging: osc --with pytestcolor
 %bcond_with pytestcolor
+%{?sle15_python_module_pythons}
 Name:   python-scikit-learn%{psuffix}
 Version:1.2.1
 Release:0


commit python-scikit-learn for openSUSE:Factory

2023-02-13 Thread Source-Sync
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 2023-02-13 16:39:22

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1848 (New)


Package is "python-scikit-learn"

Mon Feb 13 16:39:22 2023 rev:22 rq:1064381 version:1.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2023-01-18 13:08:16.735948485 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.1848/python-scikit-learn.changes
2023-02-13 16:41:28.867568936 +0100
@@ -1,0 +2,110 @@
+Wed Feb  8 18:34:17 UTC 2023 - Arun Persaud 
+
+- update to version 1.2.1:
+  * Changed models
++ The following estimators and functions, when fit with the same
+  data and parameters, may produce different models from the
+  previous version. This often occurs due to changes in the
+  modelling logic (bug fixes or enhancements), or in random
+  sampling procedures.
++ Fix The fitted components in MiniBatchDictionaryLearning might
+  differ. The online updates of the sufficient statistics now
+  properly take the sizes of the batches into account. #25354 by
+  Jérémie du Boisberranger.
++ Fix The categories_ attribute of preprocessing.OneHotEncoder now
+  always contains an array of object`s when using predefined
+  categories that are strings. Predefined categories encoded as
+  bytes will no longer work with `X encoded as strings. #25174 by
+  Tim Head.
+  * Changes impacting all modules
++ Fix Support pandas.Int64 dtyped y for classifiers and
+  regressors. #25089 by Tim Head.
++ Fix Remove spurious warnings for estimators internally using
+  neighbors search methods. #25129 by Julien Jerphanion.
++ Fix Fix a bug where the current configuration was ignored in
+  estimators using n_jobs > 1. This bug was triggered for tasks
+  dispatched by the auxillary thread of joblib as
+  sklearn.get_config used to access an empty thread local
+  configuration instead of the configuration visible from the
+  thread where joblib.Parallel was first called. #25363 by
+  Guillaume Lemaitre.
+  * Changelog
+o sklearn.base
++ Fix Fix a regression in BaseEstimator.__getstate__ that would
+  prevent certain estimators to be pickled when using Python
+  3.11. #25188 by Benjamin Bossan.
++ Fix Inheriting from base.TransformerMixin will only wrap the
+  transform method if the class defines transform itself. #25295
+  by Thomas Fan.
+
+o sklearn.datasets
++ Fix Fix an inconsistency in datasets.fetch_openml between
+  liac-arff and pandas parser when a leading space is introduced
+  after the delimiter. The ARFF specs requires to ignore the
+  leading space. #25312 by Guillaume Lemaitre.
+
+o sklearn.decomposition
++ Fix Fixed a bug in decomposition.MiniBatchDictionaryLearning
+  where the online updates of the sufficient statistics where not
+  correct when calling partial_fit on batches of different
+  sizes. #25354 by Jérémie du Boisberranger.
++ Fix decomposition.DictionaryLearning better supports readonly
+  NumPy arrays. In particular, it better supports large datasets
+  which are memory-mapped when it is used with coordinate descent
+  algorithms (i.e. when fit_algorithm='cd'). #25172 by Julien
+  Jerphanion.
+
+o sklearn.ensemble
++ Fix ensemble.RandomForestClassifier,
+  ensemble.RandomForestRegressor ensemble.ExtraTreesClassifier and
+  ensemble.ExtraTreesRegressor now support sparse readonly
+  datasets. #25341 by Julien Jerphanion
++ sklearn.feature_extraction
++ Fix feature_extraction.FeatureHasher raises an informative error
+  when the input is a list of strings. #25094 by Thomas Fan.
+
+o sklearn.linear_model
++ Fix Fix a regression in linear_model.SGDClassifier and
+  linear_model.SGDRegressor that makes them unusable with the
+  verbose parameter set to a value greater than 0. #25250 by
+  Jérémie Du Boisberranger.
+
+o sklearn.manifold
++ Fix manifold.TSNE now works correctly when output type is set to
+  pandas #25370 by Tim Head.
+
+o sklearn.model_selection
++ Fix model_selection.cross_validate with multimetric scoring in
+  case of some failing scorers the non-failing scorers now returns
+  proper scores instead of error_score values. #23101 by András
+  Simon and Thomas Fan.
+
+o sklearn.neural_network
++ Fix neural_network.MLPClassifier and neural_network.MLPRegressor
+  no longer raise warnings when fitting data with feature
+  names. #24873 by Tim Head.
+
+o sklearn.preprocessing
+

commit python-scikit-learn for openSUSE:Factory

2023-01-18 Thread Source-Sync
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 2023-01-18 13:08:12

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.32243 (New)


Package is "python-scikit-learn"

Wed Jan 18 13:08:12 2023 rev:21 rq:1058774 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2022-10-29 20:17:06.050208776 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.32243/python-scikit-learn.changes
   2023-01-18 13:08:16.735948485 +0100
@@ -1,0 +2,14 @@
+Sun Jan 15 13:04:19 UTC 2023 - Ben Greiner 
+
+- Update to version 1.2.0
+  * Pandas output with set_output API
+  * Interaction constraints in Histogram-based Gradient Boosting
+Trees
+  * New and enhanced displays
+  * Faster parser in fetch_openml
+  * Experimental Array API support in LinearDiscriminantAnalysis
+  * Improved efficiency of many estimators
+- Drop sklearn-pr24283-gradient-segfault.patch
+- PEP517 build
+
+---

Old:

  scikit-learn-1.1.3.tar.gz
  sklearn-pr24283-gradient-segfault.patch

New:

  scikit-learn-1.2.0.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.qTNXIl/_old  2023-01-18 13:08:17.439952261 +0100
+++ /var/tmp/diff_new_pack.qTNXIl/_new  2023-01-18 13:08:17.443952282 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,21 +43,21 @@
 # enable pytest color output for local debugging: osc --with pytestcolor
 %bcond_with pytestcolor
 Name:   python-scikit-learn%{psuffix}
-Version:1.1.3
+Version:1.2.0
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause
 URL:https://scikit-learn.org/
 Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM sklearn-pr24283-gradient-segfault.patch 
gh#scikit-learn/scikit-learn#24283
-Patch0: sklearn-pr24283-gradient-segfault.patch
 BuildRequires:  %{python_module Cython >= 0.29.24}
 BuildRequires:  %{python_module devel >= 3.8}
-BuildRequires:  %{python_module joblib >= 1.0.0}
+BuildRequires:  %{python_module joblib >= 1.1.1}
 BuildRequires:  %{python_module numpy-devel >= 1.17.3}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module scipy >= 1.3.2}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module threadpoolctl >= 2.0.0}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
@@ -69,7 +69,7 @@
 Requires:   python-scipy >= 1.3.2
 Requires:   python-threadpoolctl >= 2.0.0
 Requires:   python-xml
-Suggests:   python-matplotlib
+Suggests:   python-matplotlib >= 3.1.3
 Suggests:   python-pandas
 Suggests:   python-seaborn
 Provides:   python-sklearn = %{version}-%{release}
@@ -78,12 +78,12 @@
 %endif
 # SECTION test requirements
 %if %{with test}
-BuildRequires:  %{python_module pytest >= 5.0.1}
+BuildRequires:  %{python_module pytest >= 5.3.1}
 BuildRequires:  %{python_module pytest-rerunfailures}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module scikit-learn = %{version}}
 %if %{with extratest}
-BuildRequires:  %{python_module matplotlib >= 3.1.2}
+BuildRequires:  %{python_module matplotlib >= 3.1.3}
 BuildRequires:  %{python_module pandas >= 1.0.5}
 BuildRequires:  %{python_module scikit-image >= 0.16.2}
 %endif
@@ -105,12 +105,12 @@
 %build
 %if !%{with test}
 export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
 %endif
 
 %install
 %if !%{with test}
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 %endif
 
@@ -119,7 +119,8 @@
 mkdir test_dir
 pushd test_dir
 export SKLEARN_SKIP_NETWORK_TESTS=1
-NO_TESTS="dummyprefix"
+# fails with scipy 1.10 gh#scikit-learn/scikit-learn#25403
+NO_TESTS="test_spectral_embedding_two_components"
 %ifarch %{ix86} %{arm}
 # Precision-related errors on 32 bit
 # https://github.com/scikit-learn/scikit-learn/issues/19230
@@ -135,7 +136,7 @@
 %license COPYING
 %doc README.rst
 %{python_sitearch}/sklearn/
-%{python_sitearch}/scikit_learn-%{version}*-info
+%{python_sitearch}/scikit_learn-%{version}.dist-info
 %endif
 
 %changelog

++ scikit-learn-1.1.3.tar.gz -> scikit-learn-1.2.0.tar.gz 

commit python-scikit-learn for openSUSE:Factory

2022-10-29 Thread Source-Sync
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-10-29 20:16:04

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.2275 (New)


Package is "python-scikit-learn"

Sat Oct 29 20:16:04 2022 rev:20 rq:1032043 version:1.1.3

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2022-10-27 13:53:23.116326617 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2275/python-scikit-learn.changes
2022-10-29 20:17:06.050208776 +0200
@@ -1,0 +2,8 @@
+Thu Oct 27 18:40:17 UTC 2022 - Ben Greiner 
+
+- Update to version 1.1.3
+  * This bugfix release only includes fixes for compatibility with
+the latest SciPy release >= 1.9.2.
+- Update sklearn-pr24283-gradient-segfault.patch
+
+---

Old:

  scikit-learn-1.1.2.tar.gz

New:

  scikit-learn-1.1.3.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.I25QIz/_old  2022-10-29 20:17:06.838212975 +0200
+++ /var/tmp/diff_new_pack.I25QIz/_new  2022-10-29 20:17:06.846213017 +0200
@@ -43,7 +43,7 @@
 # enable pytest color output for local debugging: osc --with pytestcolor
 %bcond_with pytestcolor
 Name:   python-scikit-learn%{psuffix}
-Version:1.1.2
+Version:1.1.3
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause
@@ -104,6 +104,7 @@
 
 %build
 %if !%{with test}
+export CFLAGS="%{optflags}"
 %python_build
 %endif
 

++ scikit-learn-1.1.2.tar.gz -> scikit-learn-1.1.3.tar.gz ++
/work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.1.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2275/scikit-learn-1.1.3.tar.gz
 differ: char 5, line 1

++ sklearn-pr24283-gradient-segfault.patch ++
--- /var/tmp/diff_new_pack.I25QIz/_old  2022-10-29 20:17:06.930213465 +0200
+++ /var/tmp/diff_new_pack.I25QIz/_new  2022-10-29 20:17:06.934213486 +0200
@@ -23,58 +23,4 @@
  data_val,
  node.bitset_idx):
 Index: 
scikit-learn-1.1.2/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py
-===
 
scikit-learn-1.1.2.orig/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py
-+++ 
scikit-learn-1.1.2/sklearn/ensemble/_hist_gradient_boosting/tests/test_gradient_boosting.py
-@@ -1159,3 +1159,28 @@ def test_no_user_warning_with_scoring():
- with warnings.catch_warnings():
- warnings.simplefilter("error", UserWarning)
- est.fit(X_df, y)
-+
-+
-+def test_unknown_category_that_are_negative():
-+"""Check that unknown categories that are negative does not error.
-+
-+Non-regression test for #24274.
-+"""
-+rng = np.random.RandomState(42)
-+n_samples = 1000
-+X = np.c_[rng.rand(n_samples), rng.randint(4, size=n_samples)]
-+y = np.zeros(shape=n_samples)
-+y[X[:, 1] % 2 == 0] = 1
-+
-+hist = HistGradientBoostingRegressor(
-+random_state=0,
-+categorical_features=[False, True],
-+max_iter=10,
-+).fit(X, y)
-+
-+# Check that negative values from the second column are treated like a
-+# missing category
-+X_test_neg = np.asarray([[1, -2], [3, -4]])
-+X_test_nan = np.asarray([[1, np.nan], [3, np.nan]])
-+
-+assert_allclose(hist.predict(X_test_neg), hist.predict(X_test_nan))
-Index: 
scikit-learn-1.1.2/sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py
-===
 
scikit-learn-1.1.2.orig/sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py
-+++ 
scikit-learn-1.1.2/sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py
-@@ -1186,6 +1186,8 @@ class HistGradientBoostingRegressor(Regr
- 
- For each categorical feature, there must be at most `max_bins` unique
- categories, and each categorical value must be in [0, max_bins -1].
-+During prediction, categories encoded as a negative value are treated 
as
-+missing values.
- 
- Read more in the :ref:`User Guide `.
- 
-@@ -1515,6 +1517,8 @@ class HistGradientBoostingClassifier(Cla
- 
- For each categorical feature, there must be at most `max_bins` unique
- categories, and each categorical value must be in [0, max_bins -1].
-+During prediction, categories encoded as a negative value are treated 
as
-+missing values.
- 
- Read more in the :ref:`User Guide `.
- 
 


commit python-scikit-learn for openSUSE:Factory

2022-10-27 Thread Source-Sync
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-10-27 13:53:08

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.2275 (New)


Package is "python-scikit-learn"

Thu Oct 27 13:53:08 2022 rev:19 rq:1030924 version:1.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2022-09-17 20:08:13.760791552 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2275/python-scikit-learn.changes
2022-10-27 13:53:23.116326617 +0200
@@ -1,0 +2,8 @@
+Tue Oct 11 13:10:22 UTC 2022 - Ben Greiner 
+
+- Update dependencies
+- Add sklearn-pr24283-gradient-segfault.patch
+  * gh#scikit-learn/scikit-learn#24283
+- Update test suite setup.
+
+---

New:

  sklearn-pr24283-gradient-segfault.patch



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.95fVps/_old  2022-10-27 13:53:23.736329780 +0200
+++ /var/tmp/diff_new_pack.95fVps/_new  2022-10-27 13:53:23.748329841 +0200
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test-py38"
 %define psuffix -test-py38
@@ -42,6 +40,8 @@
 %bcond_with test
 %endif
 %bcond_with extratest
+# enable pytest color output for local debugging: osc --with pytestcolor
+%bcond_with pytestcolor
 Name:   python-scikit-learn%{psuffix}
 Version:1.1.2
 Release:0
@@ -49,20 +49,22 @@
 License:BSD-3-Clause
 URL:https://scikit-learn.org/
 Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz
-BuildRequires:  %{python_module Cython >= 0.28.5}
-BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module joblib >= 0.11}
+# PATCH-FIX-UPSTREAM sklearn-pr24283-gradient-segfault.patch 
gh#scikit-learn/scikit-learn#24283
+Patch0: sklearn-pr24283-gradient-segfault.patch
+BuildRequires:  %{python_module Cython >= 0.29.24}
+BuildRequires:  %{python_module devel >= 3.8}
+BuildRequires:  %{python_module joblib >= 1.0.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}
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gcc-fortran
 BuildRequires:  openblas-devel
 BuildRequires:  python-rpm-macros
-Requires:   python-joblib >= 0.11
+# Check sklearn/_min_dependencies.py for dependencies
+Requires:   python-joblib >= 1.0.0
 Requires:   python-numpy >= 1.17.3
 Requires:   python-scipy >= 1.3.2
 Requires:   python-threadpoolctl >= 2.0.0
@@ -70,18 +72,20 @@
 Suggests:   python-matplotlib
 Suggests:   python-pandas
 Suggests:   python-seaborn
-Provides:   python-sklearn
+Provides:   python-sklearn = %{version}-%{release}
 %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
-Provides:   sklearn
+Provides:   sklearn = %{version}-%{release}
 %endif
 # SECTION test requirements
 %if %{with test}
-BuildRequires:  %{python_module pytest >= 4.0}
-BuildRequires:  %{python_module scikit-learn}
+BuildRequires:  %{python_module pytest >= 5.0.1}
+BuildRequires:  %{python_module pytest-rerunfailures}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module scikit-learn = %{version}}
 %if %{with extratest}
 BuildRequires:  %{python_module matplotlib >= 3.1.2}
-BuildRequires:  %{python_module pandas >= 0.25.0}
-BuildRequires:  %{python_module scikit-image >= 0.13}
+BuildRequires:  %{python_module pandas >= 1.0.5}
+BuildRequires:  %{python_module scikit-image >= 0.16.2}
 %endif
 %endif
 # /SECTION
@@ -93,8 +97,10 @@
 
 %prep
 %autosetup -p1 -n scikit-learn-%{version}
-
 rm -rf sklearn/.pytest_cache
+%if !%{with pytestcolor}
+sed -i '/--color=yes/d' setup.cfg
+%endif
 
 %build
 %if !%{with test}
@@ -108,30 +114,20 @@
 %endif
 
 %if %{with test}
-# Precision-related errors on non-x86 platforms
-%ifarch %{ix86} x86_64
 %check
+mkdir test_dir
+pushd test_dir
 export SKLEARN_SKIP_NETWORK_TESTS=1
-NO_TESTS="test_feature_importance_regression or 
test_minibatch_with_many_reassignments"
-NO_TESTS+=" or test_sparse_coder_parallel_mmap or test_explained_variances"
-# test_negative_sample_weights_mask_all_samples[weights-are-zero-NuSVC] Fatal 
Python error: Aborted
-NO_TESTS+=" or test_negative_sample_weights_mask_all_samples"
-# Disable test_fe

commit python-scikit-learn for openSUSE:Factory

2022-09-17 Thread Source-Sync
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-09-17 20:08:10

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.2083 (New)


Package is "python-scikit-learn"

Sat Sep 17 20:08:10 2022 rev:18 rq:1002744 version:1.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2022-06-01 17:34:22.878720900 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2083/python-scikit-learn.changes
2022-09-17 20:08:13.760791552 +0200
@@ -1,0 +2,53 @@
+Sat Sep 10 13:32:25 UTC 2022 - Arun Persaud 
+
+- update to version 1.1.2:
+  * Changes
++ Fix A default HTML representation is shown for meta-estimators
+  with invalid parameters. #24015 by Thomas Fan.
++ Fix Add support for F-contiguous arrays for estimators and
+  functions whose back-end have been changed in 1.1. #23990 by
+  Julien Jerphanion.
++ Fix Wheels are now available for MacOS 10.9 and greater. #23833
+  by Thomas Fan.
+  * sklearn.base
++ Fix The get_params method of the BaseEstimator class now
+  supports estimators with type-type params that have the
+  get_params method. #24017 by Henry Sorsky.
+  * sklearn.cluster
++ Fix Fixed a bug in cluster.Birch that could trigger an error
+  when splitting a node if there are duplicates in the
+  dataset. #23395 by J??r??mie du Boisberranger.
+  * sklearn.feature_selection
++ Fix feature_selection.SelectFromModel defaults to selection
+  threshold 1e-5 when the estimator is either
+  linear_model.ElasticNet or linear_model.ElasticNetCV with
+  l1_ratio equals 1 or linear_model.LassoCV. #23636 by Hao Chun
+  Chang.
+  * sklearn.impute
++ Fix impute.SimpleImputer uses the dtype seen in fit for
+  transform when the dtype is object. #22063 by Thomas Fan.
+  * sklearn.linear_model
++ Fix Use dtype-aware tolerances for the validation of gram
+  matrices (passed by users or precomputed). #22059 by Malte
+  S. Kurz.
++ Fix Fixed an error in linear_model.LogisticRegression with
+  solver="newton-cg", fit_intercept=True, and a single
+  feature. #23608 by Tom Dupre la Tour.
+  * sklearn.manifold
++ Fix manifold.TSNE now throws a ValueError when fit with
+  perplexity>=n_samples to ensure mathematical correctness of the
+  algorithm. #10805 by Mathias Andersen and #23471 by Meekail
+  Zain.
+  * sklearn.metrics
++ Fix Fixed error message of metrics.coverage_error for 1D array
+  input. #23548 by Hao Chun Chang.
+  * sklearn.preprocessing
++ Fix preprocessing.OrdinalEncoder.inverse_transform correctly
+  handles use cases where unknown_value or encoded_missing_value
+  is nan. #24087 by Thomas Fan.
+  * sklearn.tree
++ Fix Fixed invalid memory access bug during fit in
+  tree.DecisionTreeRegressor and
+  tree.DecisionTreeClassifier. #23273 by Thomas Fan.
+
+---

Old:

  scikit-learn-1.1.1.tar.gz

New:

  scikit-learn-1.1.2.tar.gz



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.pKUPLT/_old  2022-09-17 20:08:14.900794841 +0200
+++ /var/tmp/diff_new_pack.pKUPLT/_new  2022-09-17 20:08:14.904794853 +0200
@@ -43,7 +43,7 @@
 %endif
 %bcond_with extratest
 Name:   python-scikit-learn%{psuffix}
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:Python modules for machine learning and data mining
 License:BSD-3-Clause

++ scikit-learn-1.1.1.tar.gz -> scikit-learn-1.1.2.tar.gz ++
/work/SRC/openSUSE:Factory/python-scikit-learn/scikit-learn-1.1.1.tar.gz 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.2083/scikit-learn-1.1.2.tar.gz
 differ: char 5, line 1


commit python-scikit-learn for openSUSE:Factory

2022-06-01 Thread Source-Sync
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 
+
+- 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 
+
+- 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_mo

commit python-scikit-learn for openSUSE:Factory

2022-02-03 Thread Source-Sync
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-02-03 23:16:13

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.1898 (New)


Package is "python-scikit-learn"

Thu Feb  3 23:16:13 2022 rev:16 rq:950579 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2021-06-11 22:30:37.806125639 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.1898/python-scikit-learn.changes
2022-02-03 23:16:46.340495692 +0100
@@ -1,0 +2,31 @@
+Wed Feb  2 02:07:05 UTC 2022 - Steve Kowalik 
+
+- Update to 1.0.2: 
+  * Fixed an infinite loop in cluster.SpectralClustering by moving an 
iteration counter from try to except. #21271 by Tyler Martin.
+  * datasets.fetch_openml is now thread safe. Data is first downloaded to a 
temporary subfolder and then renamed. #21833 by Siavash Rezazadeh.
+  * Fixed the constraint on the objective function of 
decomposition.DictionaryLearning, decomposition.MiniBatchDictionaryLearning, 
decomposition.SparsePCA and decomposition.MiniBatchSparsePCA to be convex and 
match the referenced article. #19210 by J??r??mie du Boisberranger.
+  * ensemble.RandomForestClassifier, ensemble.RandomForestRegressor, 
ensemble.ExtraTreesClassifier, ensemble.ExtraTreesRegressor, and 
ensemble.RandomTreesEmbedding now raise a ValueError when bootstrap=False and 
max_samples is not None. #21295 Haoyin Xu.
+  * Solve a bug in ensemble.GradientBoostingClassifier where the exponential 
loss was computing the positive gradient instead of the negative one. #22050 by 
Guillaume Lemaitre.
+  * Fixed feature_selection.SelectFromModel by improving support for base 
estimators that do not set feature_names_in_. #21991 by Thomas Fan.
+  * Fix a bug in linear_model.RidgeClassifierCV where the method predict was 
performing an argmax on the scores obtained from decision_function instead of 
returning the multilabel indicator matrix. #19869 by Guillaume Lemaitre.
+  * linear_model.LassoLarsIC now correctly computes AIC and BIC. An error is 
now raised when n_features > n_samples and when the noise variance is not 
provided. #21481 by Guillaume Lemaitre and Andr??s Babino.
+  * Fixed an unnecessary error when fitting manifold.Isomap with a precomputed 
dense distance matrix where the neighbors graph has multiple disconnected 
components. #21915 by Tom Dupre la Tour.
+  * All sklearn.metrics.DistanceMetric subclasses now correctly support 
read-only buffer attributes. This fixes a regression introduced in 1.0.0 with 
respect to 0.24.2. #21694 by Julien Jerphanion.
+  * neighbors.KDTree and neighbors.BallTree correctly supports read-only 
buffer attributes. #21845 by Thomas Fan.
+  * Fixes compatibility bug with NumPy 1.22 in preprocessing.OneHotEncoder. 
#21517 by Thomas Fan.
+  * Prevents tree.plot_tree from drawing out of the boundary of the figure. 
#21917 by Thomas Fan.
+  * Support loading pickles of decision tree models when the pickle has been 
generated on a platform with a different bitness. A typical example is to train 
and pickle the model on 64 bit machine and load the model on a 32 bit machine 
for prediction. #21552 by Lo??c Est??ve.
+  * Non-fit methods in the following classes do not raise a UserWarning when 
fitted on DataFrames with valid feature names: covariance.EllipticEnvelope, 
ensemble.IsolationForest, ensemble.AdaBoostClassifier, 
neighbors.KNeighborsClassifier, neighbors.KNeighborsRegressor, 
neighbors.RadiusNeighborsClassifier, neighbors.RadiusNeighborsRegressor. #21199 
by Thomas Fan.
+  * Fixed calibration.CalibratedClassifierCV to take into account 
sample_weight when computing the base estimator prediction when ensemble=False. 
#20638 by Julien Bohn??.
+  * Fixed a bug in calibration.CalibratedClassifierCV with method="sigmoid" 
that was ignoring the sample_weight when computing the the Bayesian priors. 
#21179 by Guillaume Lemaitre.
+  * Compute y_std properly with multi-target in 
sklearn.gaussian_process.GaussianProcessRegressor allowing proper normalization 
in multi-target scene. #20761 by Patrick de C. T. R. Ferreira.
+  * Fixed a bug in feature_extraction.CountVectorizer and 
feature_extraction.TfidfVectorizer by raising an error when ???min_idf??? or 
???max_idf??? are floating-point numbers greater than 1. #20752 by Alek 
Lefebvre.
+  * linear_model.LogisticRegression now raises a better error message when the 
solver does not support sparse matrices with int64 indices. #21093 by Tom Dupre 
la Tour.
+  * neighbors.KNeighborsClassifier, neighbors.KNeighborsRegressor, 
neighbors.RadiusNeighborsClassifier, neighbors.RadiusNeighborsRegressor with 
metric="precomputed" raises an error for bsr and 

commit python-scikit-learn for openSUSE:Factory

2021-02-16 Thread Source-Sync
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 2021-02-16 22:34:07

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.28504 (New)


Package is "python-scikit-learn"

Tue Feb 16 22:34:07 2021 rev:14 rq:872043 version:0.24.1

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2021-01-27 18:57:21.820352510 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.28504/python-scikit-learn.changes
   2021-02-16 22:34:08.629468651 +0100
@@ -1,0 +2,6 @@
+Sat Feb 13 19:10:14 UTC 2021 - Ben Greiner 
+
+- Add scikit-learn-pr19101-npfloat.patch in order to work with
+  NumPy 1.20 
+
+---

New:

  scikit-learn-pr19101-npfloat.patch



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.rfZ7oa/_old  2021-02-16 22:34:09.289469556 +0100
+++ /var/tmp/diff_new_pack.rfZ7oa/_new  2021-02-16 22:34:09.293469562 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-# SciPy 1.6.0 dropped Python 3.6 support, NumPy 1.20 will do, too.
+# SciPy 1.6.0 and NumPy 1.20 dropped Python 3.6 support.
 %define skip_python36 1
 %bcond_with extratest
 Name:   python-scikit-learn
@@ -28,6 +28,8 @@
 License:BSD-3-Clause
 URL:https://scikit-learn.org/
 Source0:
https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM  scikit-learn-pr19101-npfloat.patch 
gh#scikit-learn/scikit-learn#19101
+Patch0: 
https://github.com/scikit-learn/scikit-learn/pull/19101.patch#/scikit-learn-pr19101-npfloat.patch
 BuildRequires:  %{python_module Cython >= 0.28.5}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module joblib >= 0.11}

++ scikit-learn-pr19101-npfloat.patch ++
>From e7ef22c3ba2334cb3b476e95d7c083cf6b48ce56 Mon Sep 17 00:00:00 2001
From: Guillaume Lemaitre 
Date: Mon, 4 Jan 2021 10:57:03 +0100
Subject: [PATCH] TST explicit convert array to float that will contains np.nan
 [scipy-dev]

---
 sklearn/metrics/tests/test_common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sklearn/metrics/tests/test_common.py 
b/sklearn/metrics/tests/test_common.py
index 767228d46078..181baf19de3c 100644
--- a/sklearn/metrics/tests/test_common.py
+++ b/sklearn/metrics/tests/test_common.py
@@ -198,7 +198,7 @@ def precision_recall_curve_padded_thresholds(*args, 
**kwargs):
 return np.array([
 precision,
 recall,
-np.pad(thresholds,
+np.pad(thresholds.astype(np.float64),
pad_width=(0, pad_threshholds),
mode='constant',
constant_values=[np.nan])


commit python-scikit-learn for openSUSE:Factory

2021-01-27 Thread Source-Sync
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 2021-01-27 18:57:20

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.28504 (New)


Package is "python-scikit-learn"

Wed Jan 27 18:57:20 2021 rev:13 rq:866156 version:0.24.1

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2020-12-21 12:35:22.854961260 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.28504/python-scikit-learn.changes
   2021-01-27 18:57:21.820352510 +0100
@@ -1,0 +2,134 @@
+Fri Jan 22 18:54:07 UTC 2021 - Benjamin Greiner 
+
+- Skip python36 because SciPy 1.6.0 dropped it
+- optionally enable more tests with matplotlib and pandas by
+  --with extratests
+
+---
+Fri Jan 22 08:11:53 UTC 2021 - andy great 
+
+- Skip test_convergence_dtype_consistency on 32 bit arch due to 
+  precision-related errors on 32 bit arch.
+  https://github.com/scikit-learn/scikit-learn/issues/19230
+- Remove explicit dependecy python-matplotlib
+  
+---
+Wed Jan 20 19:43:33 UTC 2021 - andy great 
+
+- Remove assert_allclose-for-FP-comparison.patch, fixed.
+- Update to version 0.24.1.
+  * sklearn.metrics
+* Fix numerical stability bug that could happen in 
+  metrics.adjusted_mutual_info_score and metrics.mutual_info_score
+  with NumPy 1.20+.
+  * sklearn.semi_supervised
+* Fix semi_supervised.SelfTrainingClassifier is now accepting 
+  meta-estimator (e.g. ensemble.StackingClassifier). The 
+  validation of this estimator is done on the fitted estimator,
+  once we know the existence of the method predict_proba. 
+- Updates for version 0.24.0.
+  * sklearn.base
+* Fix base.BaseEstimator.get_params now will raise an 
+  AttributeError if a parameter cannot be retrieved as an 
+  instance attribute. Previously it would return None.
+  * sklearn.calibration
+* Efficiency calibration.CalibratedClassifierCV.fit now supports
+  parallelization via joblib.Parallel using argument n_jobs.
+* Enhancement Allow calibration.CalibratedClassifierCV use with 
+  prefit pipeline.Pipeline where data is not X is not array-like,
+  sparse matrix or dataframe at the start. #17546 by Lucy Liu.
+* Enhancement Add ensemble parameter to 
+  calibration.CalibratedClassifierCV, which enables 
+  implementation of calibration via an ensemble of calibrators 
+  (current method) or just one calibrator using all the data 
+  (similar to the built-in feature of sklearn.svm estimators with
+  the probabilities=True parameter).
+  * sklearn.cluster
+* Enhancement cluster.AgglomerativeClustering has a new 
+  parameter compute_distances. When set to True, distances 
+  between clusters are computed and stored in the distances_ 
+  attribute even when the parameter distance_threshold is not 
+  used. This new parameter is useful to produce dendrogram 
+  visualizations, but introduces a computational and memory 
+  overhead.
+* Enhancement cluster.SpectralClustering and 
+  cluster.spectral_clustering have a new keyword argument verbose.
+  When set to True, additional messages will be displayed which 
+  can aid with debugging. #18052 by Sean O. Stalley.
+* Enhancement Added cluster.kmeans_plusplus as public function. 
+  Initialization by KMeans++ can now be called separately to 
+  generate initial cluster centroids.
+* API Change cluster.MiniBatchKMeans attributes, counts_ and 
+  init_size_, are deprecated and will be removed in 1.1 
+  (renaming of 0.26).
+  * sklearn.compose
+* Fix compose.ColumnTransformer will skip transformers the 
+  column selector is a list of bools that are False.
+* Fix compose.ColumnTransformer now displays the remainder in 
+  the diagram display. #18167 by Thomas Fan.
+* Fix compose.ColumnTransformer enforces strict count and order
+  of column names between fit and transform by raising an error 
+  instead of a warning, following the deprecation cycle.
+  * sklearn.covariance
+* API Change Deprecates cv_alphas_ in favor of 
+  cv_results_['alphas'] and grid_scores_ in favor of split scores
+  in cv_results_ in covariance.GraphicalLassoCV. cv_alphas_ and 
+  grid_scores_ will be removed in version 1.1 (renaming of 0.26).
+  * sklearn.cross_decomposition
+* Fixed a bug in cross_decomposition.PLSSVD which would sometimes
+  return components in the reversed order of importance.
+* Fixed a bug in cross_decomposition.PLSSVD, 
+  cross_decomposition

commit python-scikit-learn for openSUSE:Factory

2020-12-21 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-scikit-learn for 
openSUSE:Factory checked in at 2020-12-21 12:35:20

Comparing /work/SRC/openSUSE:Factory/python-scikit-learn (Old)
 and  /work/SRC/openSUSE:Factory/.python-scikit-learn.new.5145 (New)


Package is "python-scikit-learn"

Mon Dec 21 12:35:20 2020 rev:12 rq:856853 version:0.23.2

Changes:

--- /work/SRC/openSUSE:Factory/python-scikit-learn/python-scikit-learn.changes  
2020-10-25 18:10:20.811556909 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-scikit-learn.new.5145/python-scikit-learn.changes
2020-12-21 12:35:22.854961260 +0100
@@ -1,0 +2,7 @@
+Sun Dec 13 01:16:34 UTC 2020 - Benjamin Greiner 
+
+- provide "sklearn" only for primary python3 flavor
+  gh#openSUSE/python-rpm-macros#66
+- clean test setup
+
+---



Other differences:
--
++ python-scikit-learn.spec ++
--- /var/tmp/diff_new_pack.KSy5ci/_old  2020-12-21 12:35:23.694963268 +0100
+++ /var/tmp/diff_new_pack.KSy5ci/_new  2020-12-21 12:35:23.698963277 +0100
@@ -46,7 +46,9 @@
 Requires:   python-threadpoolctl >= 2.0.0
 Requires:   python-xml
 Provides:   python-sklearn
+%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
 Provides:   sklearn
+%endif
 # SECTION test requirements
 BuildRequires:  %{python_module joblib}
 BuildRequires:  %{python_module matplotlib}
@@ -83,25 +85,20 @@
 %ifarch %{ix86} x86_64
 %check
 export SKLEARN_SKIP_NETWORK_TESTS=1
-# export PYTHONDONTWRITEBYTECODE=1
 NO_TESTS="test_feature_importance_regression or 
test_minibatch_with_many_reassignments"
-NO_TESTS="$NO_TESTS or test_sparse_coder_parallel_mmap or 
test_explained_variances"
+NO_TESTS+=" or test_sparse_coder_parallel_mmap or test_explained_variances"
 # test_negative_sample_weights_mask_all_samples[weights-are-zero-NuSVC] Fatal 
Python error: Aborted
-NO_TESTS="$NO_TESTS or test_negative_sample_weights_mask_all_samples"
-export NO_TESTS
-mv sklearn sklearn_temp
-rm -rf build _build.*
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-rm -rf build _build.*
-py.test-%{$python_bin_suffix} -p no:cacheprovider -v -k "not ($NO_TESTS)" 
%{buildroot}%{$python_sitearch}/sklearn
-}
-mv sklearn_temp sklearn
+NO_TESTS+=" or test_negative_sample_weights_mask_all_samples"
+mkdir test_dir
+pushd test_dir
+%pytest_arch -p no:cacheprovider -v -k "not ($NO_TESTS)" 
%{buildroot}%{$python_sitearch}/sklearn
+popd
 %endif
 
 %files %{python_files}
 %license COPYING
 %doc README.rst
 %{python_sitearch}/sklearn/
-%{python_sitearch}/scikit_learn-%{version}-py*.egg-info
+%{python_sitearch}/scikit_learn-%{version}*-info
 
 %changelog
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org