[Debian-astro-maintainers] Bug#906157: yt ftbfs from source (tests)

Matthias Klose doko at debian.org
Wed Aug 15 08:13:01 BST 2018


Package: src:yt
Version: 3.4.0-3
Severity: serious
Tags: sid buster

yt ftbfs from source (tests). already fails for 2.7, not even tried 3.x.

======================================================================
ERROR: yt.units.tests.test_ytarray.test_ufuncs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/<<PKGBUILDDIR>>/yt/units/tests/test_ytarray.py", line 872, in test_ufuncs
    unary_ufunc_comparison(ufunc, YTArray([.3, .4, .5], 'cm'))
  File "/<<PKGBUILDDIR>>/yt/units/tests/test_ytarray.py", line 818, in
unary_ufunc_comparison
    assert_raises(ValueError, ufunc, a)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/nose_tools/utils.py",
line 1191, in assert_raises
    return nose.tools.assert_raises(*args,**kwargs)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/yt/units/yt_array.py", line 1293, in __array_ufunc__
    out_arr = func(np.asarray(inp), out=out, **kwargs)
TypeError: ufunc 'isnat' is only defined for datetime and timedelta.

----------------------------------------------------------------------
Ran 1161 tests in 973.634s

FAILED (errors=1)
make[1]: *** [debian/rules:38: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-astro-maintainers mailing list