[Debian-astro-maintainers] Bug#868118: pydl broken with astropy 2.0

Ole Streicher olebole at debian.org
Wed Jul 12 07:30:37 UTC 2017


Package: pydl
Version: 0.5.4-1
Severity: serious
Control: block 868113 by -1

Hi,

with the latest version of astropy (2.0), pydl does not work
anymore. From the CI log <https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pydl/20170711_235626/log.gz>:


________________ ERROR collecting pydlutils/tests/test_coord.py ________________
/usr/lib/python3/dist-packages/pydl/pydlutils/tests/test_coord.py:7: in <module>
    from ..coord import SDSSMuNu, current_mjd, stripe_to_eta, stripe_to_incl
/usr/lib/python3/dist-packages/pydl/pydlutils/coord.py:10: in <module>
    class SDSSMuNu(ac.BaseCoordinateFrame):
/usr/lib/python3/dist-packages/pydl/pydlutils/coord.py:49: in SDSSMuNu
    stripe = ac.FrameAttribute(default=0)
E   AttributeError: module 'astropy.coordinates' has no attribute 'FrameAttribute'


astropy.coordinates.FrameAttribute probably just needs to be renamed to astropy.coordinates.Attribute.

Best regards

Ole



More information about the Debian-astro-maintainers mailing list