From 3291bd87b40f7cfff06af58da9c75fa3eb699625 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Fri, 22 Aug 2025 15:07:07 +0800 Subject: [PATCH] Fix pytest error and skip no network --- python-pytest-mpl.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-pytest-mpl.spec b/python-pytest-mpl.spec index 3bc688f..e839ac9 100644 --- a/python-pytest-mpl.spec +++ b/python-pytest-mpl.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-mpl Version: 0.17.0 -Release: 3 +Release: 4 Summary: pytest plugin to help with testing figures output from Matplotlib License: BSD URL: https://github.com/matplotlib/pytest-mpl @@ -91,6 +91,7 @@ mv %{buildroot}/doclist.lst . %check # not compitable to libmatplot 3.10, wait for version upgrade +MPLBACKEND=Agg %pytest -- -k 'not test_succeeds_remote and not test_succeeds_faulty_mirror' %files -n python3-pytest-mpl %{python3_sitelib}/pytest_mpl/ @@ -100,6 +101,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Aug 22 2025 Dongxing Wang - 0.17.0-4 +- Fix pytest error and skip no network + * Wed Jul 23 2025 Dongxing Wang - 0.17.0-3 - Fix build error for setuptools 78.1.1 -- Gitee