[Python-modules-team] Bug#681270: causes FTBFS of pymvpa2 on s390x: TypeError: Improper input parameters in leastsq call

Yaroslav Halchenko debian at onerussian.com
Thu Jul 12 18:18:26 UTC 2012


On Thu, 12 Jul 2012, Denis Laxalde wrote:
> >BTW -- there is a bulk of possibly related unittests failures on s390x (if only
> >someone was brave enough to take care about
> >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678546), e.g.  (a piece
> >of diff from output on s390)...

> Ok, scipy is indeed broken on this architecture... Enabling the
> tests as suggested would make it FTBFS but I agree that it would be
> a good thing in general.

just a note --- there would also be at least 1 non-KnownFailureTest on amd64
(ran on my laptop) (failed on s390x as well):

======================================================================
FAIL: test_iv_cephes_vs_amos_mass_test (test_basic.TestBessel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scipy/special/tests/test_basic.py", line 1656, in test_iv_cephes_vs_amos_mass_test
    assert_(dc[k] < 1e-9, (v[k], x[k], special.iv(v[k], x[k]), special.iv(v[k], x[k]+0j)))
  File "/usr/lib/pymodules/python2.7/numpy/testing/utils.py", line 34, in assert_
    raise AssertionError(msg)
AssertionError: (189.2947429454936, 3.0238805556481037, 4.089165443940765e-317, 0j)

and majority of those s390x-specific failures seems to point to minpack.
so it might be that figuring out this bug would resolve quite a few failing
tests on s390x

-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        





More information about the Python-modules-team mailing list