[Debian-astro-maintainers] Bug#913757: python-numpy breaks healpy autopkgtest
Paul Gevers
elbrus at debian.org
Wed Nov 14 20:53:07 GMT 2018
Source: python-numpy, healpy
Control: found -1 python-numpy/1:1.15.4-1
Control: found -1 healpy/1.12.4-3
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update
Dear maintainers,
With a recent upload of python-numpy the autopkgtest of healpy fails in
testing when that autopkgtest is run with the binary packages of
python-numpy from unstable. It passes when run with only packages from
testing. In tabular form:
pass fail
python-numpy from testing 1:1.15.4-1
healpy from testing 1.12.4-3
all others from testing from testing
I copied some of the output at the bottom of this report. It seems the
output just dropped insignificant zeros in the output. To be honest, it
seems healpy just needs to update its reference data.
Currently this regression is contributing to the delay of the migration
of python-numpy to testing [1] (it's own test suite fails as well). 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? If needed, please change the bug's severity.
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=python-numpy
https://ci.debian.net/data/autopkgtest/testing/amd64/h/healpy/1313059/log.gz
autopkgtest [04:33:53]: test python-healpy: [-----------------------
============================= test session starts
==============================
platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.7.0, pluggy-0.8.0
rootdir: /tmp/autopkgtest-lxc.41zg42w3/downtmp/autopkgtest_tmp, inifile:
plugins: cython-0.1.0
collected 128 items
healpy/pixelfunc.py ........................F....
[ 22%]
healpy/rotator.py ...
[ 25%]
healpy/test/test_fitsfunc.py ...............................
[ 49%]
healpy/test/test_pixelfunc.py ..................
[ 63%]
healpy/test/test_query_disc.py ........
[ 69%]
healpy/test/test_rotator.py ...
[ 71%]
healpy/test/test_sphtfunc.py .................
[ 85%]
healpy/test/test_spinfunc.py .....
[ 89%]
healpy/test/test_visufunc.py ..............
[100%]
=================================== FAILURES
===================================
______________________ [doctest] healpy.pixelfunc.reorder
______________________
332 Examples
333 --------
334 >>> import healpy as hp
335 >>> hp.reorder(np.arange(48), r2n = True)
336 array([13, 5, 4, 0, 15, 7, 6, 1, 17, 9, 8, 2, 19, 11,
10, 3, 28,
337 20, 27, 12, 30, 22, 21, 14, 32, 24, 23, 16, 34, 26, 25,
18, 44, 37,
338 36, 29, 45, 39, 38, 31, 46, 41, 40, 33, 47, 43, 42, 35])
339 >>> hp.reorder(np.arange(12), n2r = True)
340 array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
341 >>> print(hp.reorder(hp.ma(np.arange(12.)), n2r = True))
Expected:
[0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0]
Got:
[ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.]
/usr/lib/python2.7/dist-packages/healpy/pixelfunc.py:341: DocTestFailure
==================== 1 failed, 127 passed in 14.83 seconds
=====================
autopkgtest [04:34:08]: test python-healpy: -----------------------]
autopkgtest [04:34:11]: test python3-healpy: [-----------------------
============================= test session starts
==============================
platform linux -- Python 3.6.7, pytest-3.6.4, py-1.7.0, pluggy-0.8.0
rootdir: /tmp/autopkgtest-lxc.41zg42w3/downtmp/autopkgtest_tmp, inifile:
plugins: remotedata-0.3.1, openfiles-0.3.0, doctestplus-0.1.3,
cython-0.1.0, arraydiff-0.2
collected 128 items
healpy/pixelfunc.py ........................F....
[ 22%]
healpy/rotator.py ...
[ 25%]
healpy/test/test_fitsfunc.py ...............................
[ 49%]
healpy/test/test_pixelfunc.py ..................
[ 63%]
healpy/test/test_query_disc.py ........
[ 69%]
healpy/test/test_rotator.py ...
[ 71%]
healpy/test/test_sphtfunc.py .................
[ 85%]
healpy/test/test_spinfunc.py .....
[ 89%]
healpy/test/test_visufunc.py ..............
[100%]
=================================== FAILURES
===================================
______________________ [doctest] healpy.pixelfunc.reorder
______________________
332 Examples
333 --------
334 >>> import healpy as hp
335 >>> hp.reorder(np.arange(48), r2n = True)
336 array([13, 5, 4, 0, 15, 7, 6, 1, 17, 9, 8, 2, 19, 11,
10, 3, 28,
337 20, 27, 12, 30, 22, 21, 14, 32, 24, 23, 16, 34, 26, 25,
18, 44, 37,
338 36, 29, 45, 39, 38, 31, 46, 41, 40, 33, 47, 43, 42, 35])
339 >>> hp.reorder(np.arange(12), n2r = True)
340 array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
341 >>> print(hp.reorder(hp.ma(np.arange(12.)), n2r = True))
Expected:
[0.0 1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0]
Got:
[ 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.]
/usr/lib/python3/dist-packages/healpy/pixelfunc.py:341: DocTestFailure
==================== 1 failed, 127 passed in 14.44 seconds
=====================
autopkgtest [04:34:26]: test python3-healpy: -----------------------]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20181114/5b52d4d9/attachment.sig>
More information about the Debian-astro-maintainers
mailing list