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 <steven.kowa...@suse.com>
+
+- 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?= <loic.est...@ymail.com>
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)

Reply via email to