On Mon, 3 Oct 2016 17:57:47 +0200
Dan Horák <dan(a)danny.cz> wrote:
On Mon, 3 Oct 2016 17:25:39 +0200
Dominik 'Rathann' Mierzejewski <dominik(a)greysector.net> wrote:
> On Monday, 03 October 2016 at 10:43, Dan Horák wrote:
> > On Thu, 22 Sep 2016 18:10:44 +0200
> > Dominik 'Rathann' Mierzejewski <dominik(a)greysector.net> wrote:
> >
> > > On Thursday, 22 September 2016 at 16:55, Dan Horák wrote:
> > > > On Thu, 22 Sep 2016 15:41:01 +0200
> > > > Dominik 'Rathann' Mierzejewski <dominik(a)greysector.net>
wrote:
> > > >
> > > > > Hello,
> > > > > I've just pushed (but not built) python-matplotlib-2.0.0b4
> > > > > to rawhide. I'll be attempting to rebuild all the affected
> > > > > packages locally to test if they're compatible. In the
> > > > > meantime, feel free to git pull and build locally for your
> > > > > own testing.
> > > >
> > > > python-matplotlib has been a pain for alternative arches
> > > > recently, due failures in the test-suite (in 1.5.x). Is the
> > > > 2.0 version going to be better in this regard?
> > >
> > > tldr: no, but upstream is aware and working on it.
> > >
> > > There are quite a few issues opened on upstream github tracker
> > > either by me or by Debian maintainer. The main problem is that
> > > upstream checks that rendering output matches their generated
> > > images. This changes slightly with different versions of
> > > freetype. As a workaround, I reintroduced a certain base
> > > tolerance in order not to add specific tolerance value to each
> > > failing test (there are ~900 failing due to slight rendering
> > > differences). Then, there are some arch-specific issues, mainly
> > > on ARM.
> >
> > Could we disable the test-suite for alternative arches until there
> > is proper upstream fix? Quite a number of packages/builds are
> > blocked on python-matplotlib currently.
>
> Which arches are we talking about? s390x, ppc64(le)? Anything else?
plus aarch64, question can be whether to make the list "positive"
%ifnarch arm, x86 then skip test results
or "negative" with %ifarch aarch64 ppc64 s390 ...
how about using
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index 14d096b..bf30b5b 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -5,7 +5,11 @@
%endif
%global __provides_exclude_from .*/site-packages/.*\\.so$
%global with_html 0
+%ifarch %{power64} s390x
+%global run_tests 0
+%else
%global run_tests 1
+%endif
# On RHEL 7 onwards, don't build with wx:
%if 0%{?rhel} >= 7
until there is a better solution? Currently the missing
python-matplotlib blocks a number of other packages and we need
something before ppc koji will merge with primary.
Dan