[Debian-astro-maintainers] Bug#755564: python-astropy: FTBFS on kfreebsd-i386: assertion error

Cyril Brulebois kibi at debian.org
Tue Jul 22 02:14:59 UTC 2014


Source: python-astropy
Version: 0.4-3
Severity: serious
Justification: FTBFS

Hi,

your package no longer builds on kfreebsd-i386 due to an assertion
error:
| =================================== FAILURES ===================================
| ________________________ test_compose_fractional_powers ________________________
| 
|     def test_compose_fractional_powers():
|         x = (u.kg / u.s ** 3 * u.au ** 2.5 / u.yr ** 0.5 / u.sr ** 2)
|     
|         factored = x.compose()
|     
|         for unit in factored:
| >           assert x.decompose() == unit.decompose()
| E           assert Unit("1.54085e+24 kg m(5/2) / (rad4 s(7/2))") == Unit("3.68726e+41 A2 / (rad4 s(5/2))")
| E            +  where Unit("1.54085e+24 kg m(5/2) / (rad4 s(7/2))") = <bound method CompositeUnit.decompose of Unit("AU(5/2) kg / (s3 sr2 yr(1/2))")>()
| E            +    where <bound method CompositeUnit.decompose of Unit("AU(5/2) kg / (s3 sr2 yr(1/2))")> = Unit("AU(5/2) kg / (s3 sr2 yr(1/2))").decompose
| E            +  and   Unit("3.68726e+41 A2 / (rad4 s(5/2))") = <bound method CompositeUnit.decompose of Unit("1.6915e+59 Ry S / (rad4 s(7/2))")>()
| E            +    where <bound method CompositeUnit.decompose of Unit("1.6915e+59 Ry S / (rad4 s(7/2))")> = Unit("1.6915e+59 Ry S / (rad4 s(7/2))").decompose
| 
| astropy/units/tests/test_units.py:391: AssertionError
| = 1 failed, 4949 passed, 286 skipped, 13 xfailed, 6 xpassed in 183.33 seconds ==

Full build log:
  https://buildd.debian.org/status/fetch.php?pkg=python-astropy&arch=kfreebsd-i386&ver=0.4-3&stamp=1405700993

Mraw,
KiBi.



More information about the Debian-astro-maintainers mailing list