[Debian-astro-maintainers] Bug#1013076: New astropy breaks pydl autopkgtest

Ole Streicher olebole at debian.org
Thu Jun 16 14:25:26 BST 2022


Package: python3-pydl
Version: 1.0.0~rc2-1
Severity: serious
Control: affects -1 src:astropy

Dear maintainer,

with the upload of astropy 5.1, the autopkgtest of ... starts to fail.
Currently this regression is blocking the migration of astropy to
testing.

The failure is

________________ ERROR collecting pydlutils/tests/test_sdss.py _________________
ImportError while importing test module '/usr/lib/python3/dist-packages/pydl/pydlutils/tests/test_sdss.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3/dist-packages/pydl/pydlutils/tests/test_sdss.py:5: in <module>
     from astropy.tests.helper import remote_data, raises
E   ImportError: cannot import name 'remote_data' from 'astropy.tests.helper' (/usr/lib/python3/dist-packages/astropy/tests/helper.py)


This can be fixed by importing pytest.mark.remote_data; however then other failures appear due to deprecation of other places. It seems that this all is fixed in upstreams master branch.


Best

Ole



More information about the Debian-astro-maintainers mailing list