Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pandas for openSUSE:Factory 
checked in at 2024-07-17 15:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pandas (Old)
 and      /work/SRC/openSUSE:Factory/.python-pandas.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pandas"

Wed Jul 17 15:14:18 2024 rev:67 rq:1187906 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pandas/python-pandas.changes      
2024-06-09 20:18:44.630409208 +0200
+++ /work/SRC/openSUSE:Factory/.python-pandas.new.17339/python-pandas.changes   
2024-07-17 15:14:52.781471409 +0200
@@ -1,0 +2,5 @@
+Thu Jul 11 09:51:36 UTC 2024 - Ben Greiner <c...@bnavigator.de>
+
+- Add pandas-pr59175-matplotlib.patch -- gh#pandas-dev/pandas#59175
+
+-------------------------------------------------------------------

New:
----
  pandas-pr59175-matplotlib.patch

BETA DEBUG BEGIN:
  New:
- Add pandas-pr59175-matplotlib.patch -- gh#pandas-dev/pandas#59175
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-pandas.spec ++++++
--- /var/tmp/diff_new_pack.mrNPPh/_old  2024-07-17 15:14:53.693504808 +0200
+++ /var/tmp/diff_new_pack.mrNPPh/_new  2024-07-17 15:14:53.697504954 +0200
@@ -71,12 +71,12 @@
 Source0:        pandas-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM pandas-pr58269-pyarrow16xpass.patch -- 
gh#pandas-dev/pandas#58269
 Patch0:         pandas-pr58269-pyarrow16xpass.patch
-# PATCH-FIX-UPSTREAM pandas-pr58720-xarray-dp.patch gh#pandas-dev/pandas!58720 
mc...@suse.com
-# make pandas compatible with the modern xarray
+# PATCH-FIX-UPSTREAM pandas-pr58720-xarray-dp.patch -- 
gh#pandas-dev/pandas#58720 mc...@suse.com, make pandas compatible with the 
modern xarray
 Patch1:         pandas-pr58720-xarray-dp.patch
-# PATCH-FIX-UPSTREAM pandas-pr58484-matplotlib.patch 
gh#pandas-dev/pandas!58484 mc...@suse.com
-# make pandas compatible with the modern matplotlib
+# PATCH-FIX-UPSTREAM pandas-pr58484-matplotlib.patch -- 
gh#pandas-dev/pandas#58484 mc...@suse.com, make pandas compatible with the 
modern matplotlib
 Patch2:         pandas-pr58484-matplotlib.patch
+# PATCH-FIX-UPSTREAM pandas-pr59175-matplotlib.patch -- 
gh#pandas-dev/pandas#59175
+Patch3:         
https://github.com/pandas-dev/pandas/pull/59175.patch#/pandas-pr59175-matplotlib.patch
 %if !%{with test}
 BuildRequires:  %{python_module Cython >= 3.0.5}
 BuildRequires:  %{python_module devel >= 3.9}
@@ -514,8 +514,6 @@
 SKIP_TESTS+=" or test_self_join_date_columns"
 # expects a dirty git revision from git repo
 SKIP_TESTS+=" or test_git_version"
-# gh#pandas-dev/pandas#58851 conflict with matplotlib 3.9.0
-SKIP_TESTS+=" or test_plot_scatter_shape"
 %if "%{flavor}" == "test-py312"
 # https://github.com/pandas-dev/pandas/pull/57391, proposed change is not 
necessary the right one
 SKIP_TESTS+=" or (test_scalar_unary and numexpr-pandas)"

++++++ pandas-pr59175-matplotlib.patch ++++++
>From d4e803caf7aabd464f6fb1d43ef39903911a3cec Mon Sep 17 00:00:00 2001
From: Matthew Roeschke <10647082+mroesc...@users.noreply.github.com>
Date: Wed, 3 Jul 2024 06:45:24 -1000
Subject: [PATCH] Backport PR #59168: TST: Address UserWarning in matplotlib
 test

---
 pandas/plotting/_matplotlib/core.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/pandas/plotting/_matplotlib/core.py 
b/pandas/plotting/_matplotlib/core.py
index 2979903edf360..52382d9f7d572 100644
--- a/pandas/plotting/_matplotlib/core.py
+++ b/pandas/plotting/_matplotlib/core.py
@@ -893,7 +893,13 @@ def _make_legend(self) -> None:
         elif self.subplots and self.legend:
             for ax in self.axes:
                 if ax.get_visible():
-                    ax.legend(loc="best")
+                    with warnings.catch_warnings():
+                        warnings.filterwarnings(
+                            "ignore",
+                            "No artists with labels found to put in legend.",
+                            UserWarning,
+                        )
+                        ax.legend(loc="best")
 
     @final
     @staticmethod

Reply via email to