Skip to content

Commit b92da4e

Browse files
committed
patches: matplotlib: add threading timeout patch for 3.11.1
Copy the same patch used for 3.11.0 to 3.11.1. We don't need the pytest backport used for 3.11.0, since that is contained in the 3.11.1 release: |tgamblin@alchemist ~/workspace/baylibre/rise/matplotlib ((HEAD detached at v3.11.1))$ git tag --contains cf5cebedbb |v3.11.1 Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
1 parent 7110082 commit b92da4e

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
From a830afe01625f10e11640e2b2c3f3d88b2c16b36 Mon Sep 17 00:00:00 2001
2+
From: Trevor Gamblin <tgamblin@baylibre.com>
3+
Date: Tue, 21 Jul 2026 11:25:31 -0400
4+
Subject: [PATCH] tests: test_font_manager: increase test_fontcache_thread_safe
5+
timeout
6+
7+
This test seems to pass in a local riscv64 container, but fails when run
8+
on the native runners. It's a single threading test with a 10s timeout,
9+
so double that timeout for our builds. For now this should be considered
10+
inappropriate for upstream until we see the failure on their end too.
11+
12+
Upstream-Status: Inappropriate [native runner specific]
13+
14+
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
15+
---
16+
lib/matplotlib/tests/test_font_manager.py | 2 +-
17+
1 file changed, 1 insertion(+), 1 deletion(-)
18+
19+
diff --git a/lib/matplotlib/tests/test_font_manager.py b/lib/matplotlib/tests/test_font_manager.py
20+
index add063df90..f3a9d57039 100644
21+
--- a/lib/matplotlib/tests/test_font_manager.py
22+
+++ b/lib/matplotlib/tests/test_font_manager.py
23+
@@ -344,7 +344,7 @@ def _test_threading():
24+
def test_fontcache_thread_safe():
25+
pytest.importorskip('threading')
26+
27+
- subprocess_run_helper(_test_threading, timeout=10)
28+
+ subprocess_run_helper(_test_threading, timeout=20)
29+
30+
31+
def test_lockfilefailure(tmp_path):
32+
--
33+
2.55.0
34+

0 commit comments

Comments
 (0)