Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-sklearn-pandas for 
openSUSE:Factory checked in at 2025-07-31 17:47:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sklearn-pandas (Old)
 and      /work/SRC/openSUSE:Factory/.python-sklearn-pandas.new.1944 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-sklearn-pandas"

Thu Jul 31 17:47:03 2025 rev:10 rq:1296707 version:2.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-sklearn-pandas/python-sklearn-pandas.changes  
    2025-01-09 15:07:45.925119755 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-sklearn-pandas.new.1944/python-sklearn-pandas.changes
    2025-07-31 17:50:18.310387031 +0200
@@ -1,0 +2,6 @@
+Thu Jul 31 06:59:04 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch support-new-sklearn.patch:
+  * Support sklearn >= 1.7 changes.
+
+-------------------------------------------------------------------

New:
----
  support-new-sklearn.patch

----------(New B)----------
  New:
- Add patch support-new-sklearn.patch:
  * Support sklearn >= 1.7 changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-sklearn-pandas.spec ++++++
--- /var/tmp/diff_new_pack.xB5RQe/_old  2025-07-31 17:50:18.994415442 +0200
+++ /var/tmp/diff_new_pack.xB5RQe/_new  2025-07-31 17:50:18.998415609 +0200
@@ -25,6 +25,8 @@
 Source:         
%{url}/archive/v%{version}.tar.gz#/sklearn-pandas-%{version}-gh.tar.gz
 # PATCH-FIX-UPSTREAM gh#scikit-learn-contrib/sklearn-pandas#266
 Patch0:         remove-six.patch
+# PATCH-FIX-OPENSUSE Support sklearn >= 1.7
+Patch1:         support-new-sklearn.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ support-new-sklearn.patch ++++++
Index: sklearn-pandas-2.2.0/sklearn_pandas/pipeline.py
===================================================================
--- sklearn-pandas-2.2.0.orig/sklearn_pandas/pipeline.py
+++ sklearn-pandas-2.2.0/sklearn_pandas/pipeline.py
@@ -1,5 +1,4 @@
 from sklearn.pipeline import _name_estimators, Pipeline
-from sklearn.utils import tosequence
 
 
 def _call_fit(fit_method, X, y=None, **kwargs):
@@ -41,7 +40,7 @@ class TransformerPipeline(Pipeline):
                 "Provided step names are not unique: %s" % (names,))
 
         # shallow copy of steps
-        self.steps = tosequence(steps)
+        self.steps = steps
         estimator = estimators[-1]
 
         for e in estimators:

Reply via email to