Accepting request 1098098 from home:mcalabkova:branches:devel:languages:python:numeric

- add pyparsing-workaround-setName.patch as a part of a workaround
  for boo#1213007
  * it changes the behaviour for the debugging purposes, the laic
    end user shouldn't notice

Should go together with pyparsing

OBS-URL: https://build.opensuse.org/request/show/1098098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=77
This commit is contained in:
Matej Cepl 2023-07-12 09:33:06 +00:00 committed by Git OBS Bridge
parent 8b07bef9c9
commit b6eb1322b6
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: matplotlib-3.6.3/lib/matplotlib/_mathtext.py
===================================================================
--- matplotlib-3.6.3.orig/lib/matplotlib/_mathtext.py
+++ matplotlib-3.6.3/lib/matplotlib/_mathtext.py
@@ -1794,7 +1794,7 @@ class Parser:
for key, val in vars(p).items():
if not key.startswith('_'):
# Set names on everything -- very useful for debugging
- val.setName(key)
+ #val.setName(key)
# Set actions
if hasattr(self, key):
val.setParseAction(getattr(self, key))

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 11 11:10:04 UTC 2023 - Markéta Machová <mmachova@suse.com>
- add pyparsing-workaround-setName.patch as a part of a workaround
for boo#1213007
* it changes the behaviour for the debugging purposes, the laic
end user shouldn't notice
-------------------------------------------------------------------
Mon May 8 06:08:18 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -39,6 +39,8 @@ Source1: matplotlib-mplsetup.cfg
# Bundled version of freetype and qhull for testing purposes only
Source98: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz
Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz
# PATCH-FIX-OPENSUSE mmachova@suse.com workaround for boo#1213007 suggested in https://github.com/matplotlib/matplotlib/issues/26152#issuecomment-1607594392
Patch: pyparsing-workaround-setName.patch
Recommends: ghostscript
Recommends: libxml2-tools
Recommends: poppler-tools