Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-matplotlib for 
openSUSE:Factory checked in at 2021-07-28 19:19:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-matplotlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-matplotlib.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-matplotlib"

Wed Jul 28 19:19:34 2021 rev:89 rq:908606 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-matplotlib/python-matplotlib.changes      
2021-07-10 22:54:19.963837158 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-matplotlib.new.1899/python-matplotlib.changes
    2021-07-28 19:19:57.347642151 +0200
@@ -1,0 +2,5 @@
+Tue Jul 27 12:09:25 UTC 2021 - Mark??ta Machov?? <mmach...@suse.com>
+
+- Fix tests with inkscape11.patch
+
+-------------------------------------------------------------------

New:
----
  inkscape11.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-matplotlib.spec ++++++
--- /var/tmp/diff_new_pack.6ytL2V/_old  2021-07-28 19:19:58.043641238 +0200
+++ /var/tmp/diff_new_pack.6ytL2V/_new  2021-07-28 19:19:58.047641232 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-matplotlib
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -45,6 +45,8 @@
 Patch0:         0001-FIX-Pillow-asarray-bug.patch
 # PATCH-FIX-UPSTREAM 0002-Dont-modify-arrays-when-masking-values-for-log.patch 
- Fix from upstream for numpy 1.21.0
 Patch1:         0002-Dont-modify-arrays-when-masking-values-for-log.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/matplotlib/matplotlib/commit/73b7abf14c77014ab2436e7691e19cbee5864f4b
 Fix tests with Inkscape 1.1.
+Patch2:         inkscape11.patch
 BuildRequires:  %{python_module Cycler >= 0.10}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module kiwisolver >= 1.0.1}
@@ -251,6 +253,7 @@
 %setup -q -n matplotlib-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 #copy freetype to the right location, so that matplotlib will not try to 
download it
 mkdir -p ~/.cache/matplotlib/
 SHA=($(sha256sum %{SOURCE98}))

++++++ inkscape11.patch ++++++
>From 093fdeccef7e8195a31dfabfd4a4b5f1b07c96d5 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.anal...@gmail.com>
Date: Wed, 21 Jul 2021 22:18:54 -0400
Subject: [PATCH] Fix tests with Inkscape 1.1.

The change is imperceptible, so just increase the tolerance.

Fixes #20617.
---
 lib/matplotlib/tests/test_axes.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/matplotlib/tests/test_axes.py 
b/lib/matplotlib/tests/test_axes.py
index 2211962cdf01..a885afe70c91 100644
--- a/lib/matplotlib/tests/test_axes.py
+++ b/lib/matplotlib/tests/test_axes.py
@@ -1372,7 +1372,7 @@ def test_markevery_line():
     ax.legend()
 
 
-@image_comparison(['markevery_linear_scales'], remove_text=True)
+@image_comparison(['markevery_linear_scales'], remove_text=True, tol=0.001)
 def test_markevery_linear_scales():
     cases = [None,
              8,

Reply via email to