Package: healpy / 1.12.8-8

Metadata

Package Version Patches format
healpy 1.12.8-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Remove unit tests that require external data.patch | (download)

healpy/test/test_pixelweights.py | 34 0 + 34 - 0 !
healpy/test/test_rotator.py | 21 0 + 21 - 0 !
2 files changed, 55 deletions(-)

 remove unit tests that require external data


0002 Increase tolerance for failing test on arm64 ppc64el.patch | (download)

healpy/test/test_rotator.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 increase tolerance for failing test on arm64, ppc64el


0003 Set random seed to make test_rotator reproducible.patch | (download)

healpy/sphtfunc.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 set random seed to make test_rotator reproducible

Sporadic test failures have been reported by the Debian project.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907908.

0004 Remove stray FITS file in test_fitsfunc teardown.patch | (download)

healpy/test/test_fitsfunc.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 remove stray fits file in test_fitsfunc teardown

Upstream patch is https://github.com/healpy/healpy/pull/519.

0005 Work around Numpy formatting glitch in doctest.patch | (download)

healpy/pixelfunc.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 work around numpy formatting glitch in doctest

A Numpy string formatting bug causes this doctest to fail on
certain 32-bit platforms (e.g. armhf). The bug is evident in the
following example:

    >>> np.arange(8)
    array([0, 1, 2, 3, 4, 5, 6, 7])
    >>> 1 << np.arange(8)
    array([  1,   2,   4,   8,  16,  32,  64, 128], dtype=int32)

The `dtype=int32` should be supressed in both cases, but it is not.
This might get fixed upstream in Numpy 1.17. See numpy/numpy#9799,
numpy/numpy#10151.

0006 Fix incorrect data types in pixel ufuncs.patch | (download)

healpy/pixelfunc.py | 98 55 + 43 - 0 !
healpy/src/_healpy_pixel_lib.cc | 152 76 + 76 - 0 !
healpy/test/test_pixelfunc.py | 2 1 + 1 - 0 !
3 files changed, 132 insertions(+), 120 deletions(-)

 fix incorrect data types in pixel ufuncs

All of the pixel ufuncs use Healpix_Base2, which has 64 bit pixel
indices. However, it declares arguments as longs, which are not
necessarily a 64 bit data type (on armhf, they are 32 bit).

Fixing this allows us to manipulate 64 bit pixel indices even on
32 bit machines.

0007 Add offset to test inputs for reproducibility on i38.patch | (download)

healpy/pixelfunc.py | 27 19 + 8 - 0 !
1 file changed, 19 insertions(+), 8 deletions(-)

 add offset to test inputs for reproducibility on i386