From 98cb5a1a9bcc1dda279ae0de68c1a47e994a3cd9 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 27 Jan 2021 01:26:04 -0500 Subject: [PATCH] Fix bug with running LaTeX tests in parallel. --- python-matplotlib.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index baadf5a..c7f6618 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -335,6 +335,12 @@ rm -rf %{buildroot}%{_datadir}/matplotlib/mpl-data/fonts # These files confuse pytest, and we want to test the installed copy. rm -rf build*/ +# We need to prime this LaTeX cache stuff, or it might fail while running tests +# in parallel. +mktexfmt lualatex.fmt +mktexfmt pdflatex.fmt +mktexfmt xelatex.fmt + export http_proxy=http://127.0.0.1/ # Skips: # * test_invisible_Line_rendering: Checks for "slowness" that often fails on a