From 1de880ba074effa3a731e818cf1e5b79a66736535b37b4d6291c4a196f0d5b88 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 24 Jan 2024 00:04:02 +0000 Subject: [PATCH] Accepting request 1141029 from home:sndirsch:branches:devel:languages:python:numeric - force 'swrast' ("llvmpipe") Mesa/OpenGL driver to be used by setting and exporting LIBGL_ALWAYS_SOFTWARE=1 to get rid of issues when Mesa is trying to load 'zink' driver (messages are just warnings, but seem to be fatal for the tests here) (boo#1219095) OBS-URL: https://build.opensuse.org/request/show/1141029 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=81 --- python-matplotlib.changes | 8 ++++++++ python-matplotlib.spec | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/python-matplotlib.changes b/python-matplotlib.changes index 5be6153..1ef9f04 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jan 23 17:01:35 UTC 2024 - Stefan Dirsch + +- force 'swrast' ("llvmpipe") Mesa/OpenGL driver to be used by + setting and exporting LIBGL_ALWAYS_SOFTWARE=1 to get rid of + issues when Mesa is trying to load 'zink' driver (messages are + just warnings, but seem to be fatal for the tests here) (boo#1219095) + ------------------------------------------------------------------- Sun Dec 17 17:11:09 UTC 2023 - Ben Greiner diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 20696bf..d475b30 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -306,6 +306,11 @@ sed -i '/"certifi>=.*"/ d' pyproject.toml %if %{with test} %check +# force 'swrast' ("llvmpipe") Mesa/OpenGL driver to be used by +# setting and exporting LIBGL_ALWAYS_SOFTWARE=1 to get rid of +# issues when Mesa is trying to load 'zink' driver (messages are +# just warnings, but seem to be fatal for the tests here) (boo#1219095) +export LIBGL_ALWAYS_SOFTWARE=1 # fails to detect alternative backend within xvfb skip_tests+=" or test_backend_fallback_headful" # test_usetex.py::test_usetex[png] - no tex text -- do not skip test_empty[png] and test_unicode_minus[png]