Your message dated Sun, 10 May 2026 15:09:55 +0000
with message-id <[email protected]>
and subject line Bug#1135593: fixed in python-fitsio 1.3.0+ds-2
has caused the Debian Bug report #1135593,
regarding python-fitsio: testsuite fails with cfitsio 4.6.4
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 [email protected]
immediately.)
--
1135593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135593
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-fitsio
Version: 1.3.0+ds-1
Severity: serious
Tags: ftbfs fixed-upstream patch
Justification: fails to build from source (but built successfully in the past)
Hi,
Following the upload of cfitsio 4.6.4 in the archive, the python-fitsio
testsuite fails, causing the package to FTBFS and to fail its
autopkgtest [1]:
36s =================================== FAILURES
===================================
36s _______________________ test_compression_diskfile_kwargs
_______________________
36s
36s def test_compression_diskfile_kwargs():
36s with tempfile.TemporaryDirectory() as tmpdir:
36s fn = os.path.join(tmpdir, 'test.fits')
36s
36s img = np.ones((20, 20))
36s with fitsio.FITS(fn, 'rw', clobber=True) as fits:
36s fits.write(
36s img,
36s compress='RICE',
36s tile_dims=(10, 5),
36s qlevel=7.0,
36s qmethod='SUBTRACTIVE_DITHER_2',
36s dither_seed=42,
36s )
36s with fitsio.FITS(fn) as fits:
36s assert len(fits) == 2
36s hdr = fitsio.read_header(fn, ext=1)
36s for key, val in [
36s ('ZTILE1', 5),
36s ('ZTILE2', 10),
36s ('ZQUANTIZ', 'SUBTRACTIVE_DITHER_2'),
36s ('ZDITHER0', 42),
36s ('ZCMPTYPE', 'RICE_ONE'),
36s ]:
36s > assert hdr[key] == val
36s E AssertionError: assert 'RICE_1' == 'RICE_ONE'
36s E
36s E - RICE_ONE
36s E + RICE_1
36s
36s
/usr/lib/python3/dist-packages/fitsio/tests/test_image_compression_defaults.py:42:
AssertionError
36s =========================== short test summary info
============================
36s FAILED
tests/test_image_compression_defaults.py::test_compression_diskfile_kwargs
36s =========== 1 failed, 1859 passed, 904 skipped, 113 xfailed in 5.64s
===========
37s autopkgtest [06:51:39]: test command1: -----------------------]
37s autopkgtest [06:51:39]: test command1: - - - - - - - - - - results - - -
- - - - - - -
37s command1 FAIL non-zero exit status 1
37s autopkgtest [06:51:39]: @@@@@@@@@@@@@@@@@@@@ summary
37s command1 FAIL non-zero exit status 1
In cfitsio 4.6.4, the ZCMPTYPE header returns RICE_1 instead of
RICE_ONE [2]. A patch has been merged upstream to fix the issue [3].
Regards
Aurelien
[1]
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-fitsio/70776186/log.gz
[2]
https://github.com/HEASARC/cfitsio/commit/7d854ef29a4c0043ad4455f52657a593bd31476d
[3]
https://github.com/esheldon/fitsio/commit/22eaef48e4b9f2a490f5e21514cc359b5948ce9a
--- End Message ---
--- Begin Message ---
Source: python-fitsio
Source-Version: 1.3.0+ds-2
Done: Aurelien Jarno <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 10 May 2026 16:22:37 +0200
Source: python-fitsio
Architecture: source
Version: 1.3.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team
<[email protected]>
Changed-By: Aurelien Jarno <[email protected]>
Closes: 1135593
Changes:
python-fitsio (1.3.0+ds-2) unstable; urgency=medium
.
[ Aurelien Jarno ]
* Fix testsuite with CFITSIO 4.6.4 (Closes: #1135593)
Checksums-Sha1:
a2af2b1dad6c8e773c5cc2f72a901ec10c9e98e9 2238 python-fitsio_1.3.0+ds-2.dsc
7f3eab7db8027771b8b95f95c5659cd32d0a23d4 5240
python-fitsio_1.3.0+ds-2.debian.tar.xz
e826a004d928e738604fb5fa5e8ee980f08a539b 9009
python-fitsio_1.3.0+ds-2_source.buildinfo
Checksums-Sha256:
3daca125ea819f106123d8355e48fbc305bfbf897e4d8c8b8ff13ce5bfbd5ae1 2238
python-fitsio_1.3.0+ds-2.dsc
b0d59f2daaef12f7a8c362340d32abed0052e2e3fc71cbda3ac5448082f0e955 5240
python-fitsio_1.3.0+ds-2.debian.tar.xz
af05dbf6f63966b7760323ceabbf69f01a9b661563b984aa4f776f2bfa95f770 9009
python-fitsio_1.3.0+ds-2_source.buildinfo
Files:
fb0b7ab4b2076444e7e431d0bac5892b 2238 python optional
python-fitsio_1.3.0+ds-2.dsc
71348561d33ee7c91395c93c18401b2d 5240 python optional
python-fitsio_1.3.0+ds-2.debian.tar.xz
c1aa56cc107b633bf0f1f776afc6ace2 9009 python optional
python-fitsio_1.3.0+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmoAm60ACgkQE4jA+Jno
M2uO7g//Q/k2ANxabJwPd2OlAH1l2MigdQlgmbq6q9lCKXVTF0FMq+fYBMwNCweM
/EbQgDO7P5oW6Bypc/qMxyqbgKTdwHgWHLfGiA5w6AJdNHz586pdFEPnvs697sYv
ACJclXO7d1CsQHq/PPvQZdVl2K08N6OMoZz4wy4kb/d54tJABs4NmqB7V20dQOkO
sQUcx1WAZZoWu0zkXJEJ2KwLIDI7yTR7S066fgehIInrR+Yg7KVKtWwtPVHtOXwo
ZRmbhZrgYnM08+WMdUY5uIzpJH47qRaxKusifo0Vp1MV8RWJZT7NtTvFzduzeqfV
SslUxxeqfv1fAyt/KCQhDpN8ZCa6WQxJp738M+1QrfSt2dwplF5DTavFjMEg/rYm
A7Dbnn6OOgI+pa1W0lPE0PkLHZyMSg1x+Frnf0TyCqFrdKdWKUyZKKkTZ4NJ2iun
Zkk/92gW/BNgywgZMg4R2IE9aFZIy9iA1xfQoSw35MoAyq286DRCGrnNp/Z9sdu5
6Op/zJmYIbULhvcmbfDR7nP31UF/IAy56ry2E6hrZMnnXac1XxE0gpAhOSborMiD
lDWZgh+SM2NOggEjK9+ms1qBkNljaIjGQ1+XzCoKxrL0t/wH05iiqvgeFF1BQxld
pbDCeqSrHE50kuotSky28a5xTeXH2l3zq5NsT5Z/d74tPanL+BA=
=7Jph
-----END PGP SIGNATURE-----
pgpNnNpAoDqwY.pgp
Description: PGP signature
--- End Message ---