Your message dated Wed, 06 Mar 2019 04:19:12 +0000
with message-id <e1h1o1q-000dqy...@fasolo.debian.org>
and subject line Bug#921324: fixed in astropy-healpix 0.4-5
has caused the Debian Bug report #921324,
regarding astropy-healpix FTBFS on i386: test failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
921324: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921324
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: astropy-healpix
Version: 0.4-4
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/fetch.php?pkg=astropy-healpix&arch=i386&ver=0.4-4&stamp=1548693347&raw=0

...
=================================== FAILURES ===================================
_______________________________ test_boundaries ________________________________

    @given(nside_pow=integers(0, 29), step=integers(1, 10), nest=booleans(),
>          frac=floats(0, 1, allow_nan=False, 
> allow_infinity=False).filter(lambda x: x < 1))

astropy_healpix/tests/test_healpy.py:185: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/hypothesis/core.py:519: in execute
    result = self.test_runner(data, run)
/usr/lib/python3/dist-packages/hypothesis/executors.py:58: in 
default_new_style_executor
    return function(data)
/usr/lib/python3/dist-packages/hypothesis/core.py:517: in run
    return test(*args, **kwargs)
astropy_healpix/tests/test_healpy.py:185: in test_boundaries
    frac=floats(0, 1, allow_nan=False, allow_infinity=False).filter(lambda x: x 
< 1))
/usr/lib/python3/dist-packages/hypothesis/core.py:464: in test
    result = self.test(*args, **kwargs)
astropy_healpix/tests/test_healpy.py:190: in test_boundaries
    b1 = hp_compat.boundaries(nside, pix, step=step, nest=nest)
astropy_healpix/healpy.py:152: in boundaries
    lon, lat = boundaries_lonlat(pix, step, nside, order='nested' if nest else 
'ring')
astropy_healpix/core.py:673: in boundaries_lonlat
    lon, lat = healpix_to_lonlat(healpix_index.ravel(), nside, dx.ravel(), 
dy.ravel(), order=order)
astropy_healpix/core.py:393: in healpix_to_lonlat
    lat = Latitude(lat, unit=u.rad, copy=False)
/usr/lib/python3/dist-packages/astropy/coordinates/angles.py:514: in __new__
    self._validate_angles()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <Latitude [ 0.        , -0.72972766, -1.57079633, -0.72972766] rad>
angles = <Latitude [ 0.        , -0.72972766, -1.57079633, -0.72972766] rad>

    def _validate_angles(self, angles=None):
        """Check that angles are between -90 and 90 degrees.
        If not given, the check is done on the object itself"""
        # Convert the lower and upper bounds to the "native" unit of
        # this angle.  This limits multiplication to two values,
        # rather than the N values in `self.value`.  Also, the
        # comparison is performed on raw arrays, rather than Quantity
        # objects, for speed.
        if angles is None:
            angles = self
        lower = u.degree.to(angles.unit, -90.0)
        upper = u.degree.to(angles.unit, 90.0)
        if np.any(angles.value < lower) or np.any(angles.value > upper):
            raise ValueError('Latitude angle(s) must be within -90 deg <= angle 
<= 90 deg, '
>                            'got {0}'.format(angles.to(u.degree)))
E           ValueError: Latitude angle(s) must be within -90 deg <= angle <= 90 
deg, got [  0.        -41.8103149 -90.        -41.8103149] deg

/usr/lib/python3/dist-packages/astropy/coordinates/angles.py:531: ValueError
---------------------------------- Hypothesis ----------------------------------
Falsifying example: test_boundaries(nside_pow=0, frac=0.6666666666666666, 
step=1, nest=False)
==================== 1 failed, 124 passed in 24.30 seconds =====================
/usr/lib/python3/dist-packages/astropy/config/configuration.py:536: 
ConfigurationMissingWarning: Configuration defaults will be used due to 
FileNotFoundError:2 on None
  warn(ConfigurationMissingWarning(msg))
make[1]: *** [debian/rules:17: test-python3.7] Error 1



Fix:

--- debian/rules.old    2019-02-04 09:12:02.674701984 +0000
+++ debian/rules        2019-02-04 09:13:52.286700939 +0000
@@ -9,6 +9,10 @@
 # Astropy-affiliated packages do.
 export PYBUILD_AFTER_INSTALL := find {destdir} -name '*.c' -delete
 
+ifeq ($(DEB_HOST_ARCH),i386)
+  export DEB_CFLAGS_MAINT_APPEND=-ffloat-store
+endif
+
 %:
        dh $@ --with python3 --buildsystem=pybuild
 

--- End Message ---
--- Begin Message ---
Source: astropy-healpix
Source-Version: 0.4-5

We believe that the bug you reported is fixed in the latest version of
astropy-healpix, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 921...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Leo Singer <leo.sin...@ligo.org> (supplier of updated astropy-healpix package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 05 Mar 2019 22:53:26 -0500
Source: astropy-healpix
Binary: python3-astropy-healpix python3-astropy-healpix-dbgsym
Architecture: source amd64
Version: 0.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Maintainers 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Leo Singer <leo.sin...@ligo.org>
Description:
 python3-astropy-healpix - HEALPix representation of spherical data - Python 3
Closes: 921324
Changes:
 astropy-healpix (0.4-5) unstable; urgency=medium
 .
   * Compile with -ffloat-store on i386 to fix unit test failures due
     to unwanted floating point precision. (Closes: #921324)
Checksums-Sha1:
 cbee66fdcdc7d97327c4a778e912122958a87a50 2276 astropy-healpix_0.4-5.dsc
 ae16558ff74a26d399cc138b3f9ba5bd47da2a16 7712 
astropy-healpix_0.4-5.debian.tar.xz
 c9e4e49c00b4517506aa6335b82d431fb78e99d7 9718 
astropy-healpix_0.4-5_amd64.buildinfo
 0cb96285ea1d2f17643e0e4829fab8c7b8ea4b29 134416 
python3-astropy-healpix-dbgsym_0.4-5_amd64.deb
 19de160525fa6c74ffcb21bf291cf3aca458f186 63872 
python3-astropy-healpix_0.4-5_amd64.deb
Checksums-Sha256:
 5717ea1c9cc7a4ba152865b9f69694a7486b068c390247e1d31564a66c779579 2276 
astropy-healpix_0.4-5.dsc
 50ac55d7dad8b4906189c654b554890ec00a9126ee6fc4b3b608d5ef01631e19 7712 
astropy-healpix_0.4-5.debian.tar.xz
 5c6cb370e9aaf265653fe10e93a43adf383cd589e9c44b129cda554ac61c2c68 9718 
astropy-healpix_0.4-5_amd64.buildinfo
 8ebdc4b3899b0783740185f9865501943655c2dff43ab661517079d620c370e8 134416 
python3-astropy-healpix-dbgsym_0.4-5_amd64.deb
 e259b165e0ab3324a7b9e2cddfaed62367f5c53008d24ed989a0209186aa349c 63872 
python3-astropy-healpix_0.4-5_amd64.deb
Files:
 1964069f1cc962ef4db38905dd04e2bc 2276 python optional astropy-healpix_0.4-5.dsc
 dc4bdb511b8ed385f6c0797cc7f5209f 7712 python optional 
astropy-healpix_0.4-5.debian.tar.xz
 18e444225c1670f7e39d701c0f6ab48e 9718 python optional 
astropy-healpix_0.4-5_amd64.buildinfo
 97d3519ca7022af7a0bbf290f049abe8 134416 debug optional 
python3-astropy-healpix-dbgsym_0.4-5_amd64.deb
 c59fcd15f4a1f62cf5af3f8cf9438c8a 63872 python optional 
python3-astropy-healpix_0.4-5_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETlIW+xCXmEEMK3UhbGdTGlqCeZ4FAlx/RJsACgkQbGdTGlqC
eZ4sJg//bhRUy3fulGEUkGGeRmIr44sex3dp2eG60ZKiafgHOfi6mARhBvtzdX69
HUS77i58cq/nkRVxt54VcuNV/EAV7OKpf+/e0poic5Q5PAIFL4GIEIvBX09ZgJer
CfXgFgesoHzbvQUf34eVi6BLr/CUb0T/mPkF3V6bUjAn3Jm9n6/RqHqgO6Lfh2Rm
qxrt9OwVArPqw6+5dMg0+/Ttd2v8jqykXjrPP127+BXY0i+XWHWIcojz3NfvkLf7
5aVDF+XrJO9kjNKHZ+jq4n95MkR5wuopo4PySb3ZiXmb2lXbmfDta7kMvOm/8h4j
WVrt8F4cqCuX9B5PmGfU+CioIrB+gwyiOohS3LwxZt03NaImmvq8ivKK3fy3t/Jx
8jFmIKomOTo8pcYC8+CqpbcrurnLT8lsvNw+tc+m8uVJmCVlesVXilC2lZ6NjZuz
Eg1It9YTE9mK+EBp7h1rU/U1KGtars5oH4u3h1+M5BDFvsCfjwJq+xCiFF0gVkD1
lGYvzaGfVuO/kBgZtwgHSpdDVT7fdDkHfUQhjRG5h4uK4JBf4pe4IR9KjX88VBAf
sBS2XbABInKDuNDIEEhHaHG3qg7lTQBmUq6PX8Io5VW34StJz0aavzBZnojKNAcC
Da2bjdJfekT3utDZ+8naoM8xlywhf4eTdZaITxANmyWKmYqZ5mI=
=eqIU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to