[Debian-astro-maintainers] Bug#913757: python-numpy breaks healpy autopkgtest

Adrian Bunk bunk at debian.org
Sun Dec 2 08:42:45 GMT 2018


Control: severity -1 serious
Control: tags -1 ftbfs

On Thu, Nov 22, 2018 at 06:14:03PM -0500, Sandro Tosi wrote:
>...
> On Wed, Nov 14, 2018 at 3:57 PM Paul Gevers <elbrus at debian.org> wrote:
> 
> > =================================== 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.]
> 
> this is a bug in healpy, that requires update in its test suite: while
> it's true numpy changed how it prints nparrays, it looks like healpy
> compares what `print` generates, not 2 datastructures.

This is also a FTBFS:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/healpy.html

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Debian-astro-maintainers mailing list