Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-matplotlib for
openSUSE:Factory checked in at 2026-02-11 18:47:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old)
and /work/SRC/openSUSE:Factory/.python-matplotlib.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-matplotlib"
Wed Feb 11 18:47:40 2026 rev:125 rq:1332282 version:3.10.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes
2025-11-12 21:41:34.846629256 +0100
+++
/work/SRC/openSUSE:Factory/.python-matplotlib.new.1670/python-matplotlib.changes
2026-02-11 18:48:21.728154362 +0100
@@ -1,0 +2,5 @@
+Tue Feb 10 14:16:59 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add py314.patch to fix tests with python 3.14
+
+-------------------------------------------------------------------
Old:
----
matplotlib-3.10.7.tar.gz
New:
----
matplotlib-3.10.8.tar.gz
py314.patch
----------(New B)----------
New:
- Add py314.patch to fix tests with python 3.14
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.JoZGYy/_old 2026-02-11 18:48:23.100211980 +0100
+++ /var/tmp/diff_new_pack.JoZGYy/_new 2026-02-11 18:48:23.100211980 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-matplotlib
#
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -46,7 +46,7 @@
%{?sle15_python_module_pythons}
Name: python-matplotlib%{psuffix}
-Version: 3.10.7
+Version: 3.10.8
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@@ -59,6 +59,8 @@
Source100: python-matplotlib.rpmlintrc
# PATCH-FEATURE-OPENSUSE matplotlib-meson-options-opensuse.patch
[email protected] -- Custom build options for meson-python
Patch1: matplotlib-meson-options-opensuse.patch
+# PATCH-FIX-UPSTREAM https://github.com/matplotlib/matplotlib/pull/30918 TST:
account for asyncio changes in py314
+Patch2: py314.patch
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: poppler-tools
++++++ matplotlib-3.10.7.tar.gz -> matplotlib-3.10.8.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-matplotlib/matplotlib-3.10.7.tar.gz
/work/SRC/openSUSE:Factory/.python-matplotlib.new.1670/matplotlib-3.10.8.tar.gz
differ: char 5, line 1
++++++ py314.patch ++++++
>From 2a94a7ff1338708e49dbc23ed48734b260faafd2 Mon Sep 17 00:00:00 2001
From: Thomas A Caswell <[email protected]>
Date: Wed, 31 Dec 2025 09:55:20 -0500
Subject: [PATCH] TST: account for asyncio changes in py314
An EventLoop will no longer be implicitly created by `get_event_loop()`
Closes #30917
---
lib/matplotlib/tests/test_backends_interactive.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/matplotlib/tests/test_backends_interactive.py
b/lib/matplotlib/tests/test_backends_interactive.py
index 6bc7de433825..101c1cb81cad 100644
--- a/lib/matplotlib/tests/test_backends_interactive.py
+++ b/lib/matplotlib/tests/test_backends_interactive.py
@@ -208,6 +208,10 @@ def check_alt_backend(alt_backend):
if fig.canvas.toolbar: # i.e toolbar2.
fig.canvas.toolbar.draw_rubberband(None, 1., 1, 2., 2)
+ if backend == 'webagg' and sys.version_info >= (3, 14):
+ import asyncio
+ asyncio.set_event_loop(asyncio.new_event_loop())
+
timer = fig.canvas.new_timer(1.) # Test that floats are cast to int.
timer.add_callback(KeyEvent("key_press_event", fig.canvas, "q")._process)
# Trigger quitting upon draw.