#1146862 python-fitsio: FTBFS on s390x: FAILED fitsio/tests/test_image_compression.py::test_image_compression_gzip_subnormal_cast_to_zero

#1146862#5
Date:
2026-09-06 12:50:00 UTC
From:
To:
Dear maintainer

python-fitsio FTBFS on s390x:

fitsio/tests/test_warnings.py .                                          [100%]

=================================== FAILURES ===================================
E               assert np.float32(134.9746) == 0

fitsio/tests/test_image_compression.py:930: AssertionError
=============================== warnings summary ===============================
fitsio/tests/test_image_compression.py:621
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_image_compression.py:621: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

fitsio/tests/test_image_compression.py:637
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_image_compression.py:637: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytest.mark.slow,

fitsio/tests/test_segfault.py:54
  /build/reproducible-path/python-fitsio-1.4.2+ds/.pybuild/cpython3_3.14_fitsio/build/fitsio/tests/test_segfault.py:54: PytestUnknownMarkWarning: Unknown pytest.mark.slow - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.slow

#1146862#10
Date:
2026-09-18 08:52:46 UTC
From:
To:
Hi Sebastian,
I have raised a PR for this issue which has been merged upstream.
https://github.com/esheldon/fitsio/pull/531

Regards
Prachi

#1146862#15
Date:
2026-09-18 09:10:34 UTC
From:
To:
Hi

I only reported the issue as this is blocking the migration of the
package. I don't care about python-fitsio beyond that.

Cheers

#1146862#20
Date:
2026-09-18 09:39:23 UTC
From:
To:
I have raised a PR for this bug which has been merged upstream.
Here is the bug report :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146862&pow_referer=
PR Link:
https://github.com/esheldon/fitsio/pull/531

Regards
Prachi

#1146862#25
Date:
2026-09-18 10:20:32 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-fitsio, 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 1146862@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <olebole@debian.org> (supplier of updated python-fitsio 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 18 Sep 2026 11:33:14 +0200
Source: python-fitsio
Architecture: source
Version: 1.4.2+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
Changed-By: Ole Streicher <olebole@debian.org>
Closes: 1146862
Changes:
 python-fitsio (1.4.2+ds-2) unstable; urgency=medium
 .
   * Fix FTBFS for big endian machines (Closes: #1146862)
Checksums-Sha1:
 07b798c2db4765080919c3f99f80337f832f3f94 2318 python-fitsio_1.4.2+ds-2.dsc
 6fdfbd74486390306f80da1e94c6cb3c45b065db 5968 python-fitsio_1.4.2+ds-2.debian.tar.xz
Checksums-Sha256:
 cffde802e8780a5ddd41c18d7e903c689284a0d0bee3c2d6a558e2f16db1c279 2318 python-fitsio_1.4.2+ds-2.dsc
 bd306aebfafb62946bd4f765d4f3f517b908c5766d1e367b8722a5fa3837daec 5968 python-fitsio_1.4.2+ds-2.debian.tar.xz
Files:
 d412f4b527f01d5ee130c91c82bab483 2318 python optional python-fitsio_1.4.2+ds-2.dsc
 839e7e29c50d66529ea340b880f0cc1b 5968 python optional python-fitsio_1.4.2+ds-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmqtB50ACgkQcRWv0HcQ
3PdJSg/8Du8c5j6toLqqomicMtDQnWqwt5aAo+M+0hCNziMaXd8OLKTJqrpNvAAs
/QIT3wiXvRQerTYnogrum7XElPbztTMrwW6+0RYQe+lt9lLc6O1ePSa+5BI8XMst
V15TsGdnDnjfPr5bjgtVgygTQAPvP/hnVqeN6KrgsCetcuOrsbz7IBSYTupfy0oO
pCMFwfyxGQ2GmbMNYrQaOVbKKAnBGuPBtWE1x3FUbmDnSEv4Q+0689W5CGqq5BdJ
DT3QVcsem3pOyNE1BuXQZ4Q6ENfL9LTjYpqWRyXBslSfRnfVNaZxynchnsSYbDCA
FpCPEjO3/VAFcQBegOCNBcpiHA7dEDCYFUTCkVvDF/m1SM+5cS1lxOsR8ova2QRX
RE6TDZHro9DT5bdEB5HUlqSPRCa3xRmPZV0ueo3C9cUiZcRqt4y6NoPpFQ223rtI
+HQ+k6vyQPAfc9E2+0wqwZa1cfE8aL62xsf5OMMyZdD1zcjaBYUPlwslxosKnwV1
WT0rqwOGBaD9hfqUHrjrYuYQL/iZyNev8BDfvugjmmNOFYWSzm+1rEC3g13k7XJx
8lLu3i6en87WJ6xR2iY3ujpTeiCzwzL5xkymNM2r5fssGGu2eic5hKcH9fRXtFST
0Cs9HsFTynH3pdYh1uHEFJYLmnwaPhwQh+w7CsPb1mLkSgEMSfg=
=Zr1Q
-----END PGP SIGNATURE-----