Accepting request 1333726 from devel:languages:python:numeric

- TST: Use correct method of clearing mock objects
- Upstream patch correct-reset-mock.patch, gh#matplotlib/matplotlib#31153

OBS-URL: https://build.opensuse.org/request/show/1333726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-matplotlib?expand=0&rev=126
(cherry picked from commit b63589ad00)
This commit is contained in:
2026-02-18 16:04:45 +00:00
committed by Markéta Machová
parent 843731933f
commit cc873c6c7c
3 changed files with 49 additions and 0 deletions

View File

@@ -61,6 +61,8 @@ Source100: python-matplotlib.rpmlintrc
Patch1: matplotlib-meson-options-opensuse.patch
# PATCH-FIX-UPSTREAM Pillow-13-compat.patch https://github.com/matplotlib/matplotlib/pull/30221
Patch2: Pillow-13-compat.patch
# PATCH-FIX-UPSTREAM correct-reset-mock.patch gh#matplotlib/matplotlib#31153
Patch3: correct-reset-mock.patch
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: poppler-tools