[Debian-astro-maintainers] Bug#1007827: asdf-astropy breaks gwcs autopkgtest: cannot import name 'assert_models_equal' from 'asdf_astropy.converters.transform.tests.test_transform'

Paul Gevers elbrus at debian.org
Thu Mar 17 12:35:17 GMT 2022


Source: asdf-astropy, gwcs
Control: found -1 asdf-astropy/0.2.0-1
Control: found -1 gwcs/0.18.0-2
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of asdf-astropy the autopkgtest of gwcs fails in 
testing when that autopkgtest is run with the binary packages of 
asdf-astropy from unstable. It passes when run with only packages from 
testing. In tabular form:

                        pass            fail
asdf-astropy           from testing    0.2.0-1
gwcs                   from testing    0.18.0-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of asdf-astropy to 
testing [1]. Due to the nature of this issue, I filed this bug report 
against both packages. Can you please investigate the situation and 
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=asdf-astropy

https://ci.debian.net/data/autopkgtest/testing/amd64/g/gwcs/20058761/log.gz

============================= test session starts 
==============================
platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.788b562b/downtmp/autopkgtest_tmp
plugins: remotedata-0.3.3, openfiles-0.5.0, astropy-header-0.2.0, 
cov-3.0.0, filter-subpackage-0.1.1, asdf-2.10.1, arraydiff-0.5.0, 
doctestplus-0.12.0, mock-3.6.1, hypothesis-6.36.0
collected 971 items / 1 error / 970 selected

==================================== ERRORS 
====================================
________________ ERROR collecting converters/tests/test_wcs.py 
_________________
ImportError while importing test module 
'/usr/lib/python3/dist-packages/gwcs/converters/tests/test_wcs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
     return _bootstrap._gcd_import(name[level:], package, level)
/usr/lib/python3/dist-packages/gwcs/converters/tests/test_wcs.py:15: in 
<module>
     from asdf_astropy.converters.transform.tests.test_transform import 
(  # noqa: E402
E   ImportError: cannot import name 'assert_models_equal' from 
'asdf_astropy.converters.transform.tests.test_transform' 
(/usr/lib/python3/dist-packages/asdf_astropy/converters/transform/tests/test_transform.py)
=========================== short test summary info 
============================
ERROR converters/tests/test_wcs.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
!!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.32s 
===============================
autopkgtest [06:00:01]: test command1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20220317/c7c83436/attachment.sig>


More information about the Debian-astro-maintainers mailing list