[Debian-astro-maintainers] Bug#887446: astroplan: FTBFS and Debci failure

Adrian Bunk bunk at debian.org
Tue Jan 16 16:21:00 UTC 2018


Source: astroplan
Version: 0.4-1
Severity: serious

Some recent change in unstable makes astroplan FTBFS and Debci fail:

https://ci.debian.net/packages/a/astroplan/unstable/amd64/
https://tests.reproducible-builds.org/debian/history/astroplan.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/astroplan.html

...
=================================== FAILURES ===================================
__________________________ test_schedule_insert_slot ___________________________

    def test_schedule_insert_slot():
        start = Time('2016-02-06 03:00:00')
        schedule = Schedule(start, start + 5*u.hour)
        # testing for when float comparison doesn't work, does it start/end at the right time
        duration = 2*u.hour + 1*u.second
        end_time = start + duration
        block = TransitionBlock.from_duration(duration)
        schedule.insert_slot(end_time - duration, block)
        assert not end_time - duration == start
        assert len(schedule.slots) == 2
        assert schedule.slots[0].start == start
        schedule = Schedule(start, start + 5*u.hour)
        # testing for when float evaluation does work
        duration = 2*u.hour
        end_time = start + duration
        block = TransitionBlock.from_duration(duration)
        schedule.insert_slot(end_time - duration, block)
>       assert end_time - duration == start
E       AssertionError: assert (<Time object: scale='utc' format='iso' value=2016-02-06 05:00:00.000> - <Quantity 2.0 h>) == <Time object: scale='utc' format='iso' value=2016-02-06 03:00:00.000>
...
======== 1 failed, 113 passed, 1 skipped, 11 warnings in 386.32 seconds ========
debian/rules:29: recipe for target 'python-test2.7' failed
make[1]: *** [python-test2.7] Error 1



More information about the Debian-astro-maintainers mailing list