Your message dated Tue, 12 Nov 2024 23:34:10 +0000
with message-id <[email protected]>
and subject line Bug#1087199: fixed in python-h5netcdf 1.4.0-3
has caused the Debian Bug report #1087199,
regarding python-h5netcdf: complex type failing in 32-bit systems
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.)
--
1087199: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087199
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-h5netcdf
Version: 1.4.0-1
Severity: normal
Control: forwarded -1 https://github.com/h5netcdf/h5netcdf/issues/243
The complex tests in h5netcdf 1.4.0 are failing on 32-bit systems.
Test logs at
https://ci.debian.net/data/autopkgtest/unstable/armel/p/python-h5netcdf/54210152/log.gz
(also, armhf, i386)
79s ______________________ test_complex_type_creation_errors
_______________________
79s
79s tmp_local_netcdf =
'/tmp/pytest-of-debci/pytest-0/test_complex_type_creation_err0/testfile.nc'
79s
79s @pytest.mark.skipif(
79s version.parse(netCDF4.__version__) < version.parse("1.7.0"),
79s reason="does not work before netCDF4 v1.7.0",
79s )
79s def test_complex_type_creation_errors(tmp_local_netcdf):
79s complex_array = np.array([0 + 0j, 1 + 0j, 0 + 1j, 1 + 1j, 0.25 +
0.75j])
79s
79s with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
79s ds.createDimension("x", size=len(complex_array))
79s with pytest.raises(TypeError, match="data type 'c4' not
understood"):
79s ds.createVariable("data", "c4", ("x",))
79s
79s with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
79s ds.createDimension("x", size=len(complex_array))
79s with pytest.raises(
79s TypeError,
79s match="Currently only 'complex64' and 'complex128' dtypes
are allowed.",
79s ):
79s > ds.createVariable("data", "c32", ("x",))
79s
79s tests/test_h5netcdf.py:2713:
79s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
79s /usr/lib/python3/dist-packages/h5netcdf/legacyapi.py:245: in createVariable
79s return super().create_variable(
79s /usr/lib/python3/dist-packages/h5netcdf/core.py:1234: in create_variable
79s return group._create_child_variable(
79s /usr/lib/python3/dist-packages/h5netcdf/core.py:1040: in
_create_child_variable
79s dtype = _check_dtype(self, dtype)
79s /usr/lib/python3/dist-packages/h5netcdf/core.py:702: in _check_dtype
79s group._root._check_valid_netcdf_dtype(dtype)
79s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
79s
79s self = <Closed h5netcdf.legacyapi.Dataset>, dtype = 'c32'
79s
79s def _check_valid_netcdf_dtype(self, dtype):
79s > dtype = np.dtype(dtype)
79s E TypeError: data type 'c32' not understood
79s
79s /usr/lib/python3/dist-packages/h5netcdf/core.py:1604: TypeError
79s
79s During handling of the above exception, another exception occurred:
79s
79s tmp_local_netcdf =
'/tmp/pytest-of-debci/pytest-0/test_complex_type_creation_err0/testfile.nc'
79s
79s @pytest.mark.skipif(
79s version.parse(netCDF4.__version__) < version.parse("1.7.0"),
79s reason="does not work before netCDF4 v1.7.0",
79s )
79s def test_complex_type_creation_errors(tmp_local_netcdf):
79s complex_array = np.array([0 + 0j, 1 + 0j, 0 + 1j, 1 + 1j, 0.25 +
0.75j])
79s
79s with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
79s ds.createDimension("x", size=len(complex_array))
79s with pytest.raises(TypeError, match="data type 'c4' not
understood"):
79s ds.createVariable("data", "c4", ("x",))
79s
79s with legacyapi.Dataset(tmp_local_netcdf, "w") as ds:
79s ds.createDimension("x", size=len(complex_array))
79s > with pytest.raises(
79s TypeError,
79s match="Currently only 'complex64' and 'complex128' dtypes
are allowed.",
79s ):
79s E AssertionError: Regex pattern did not match.
79s E Regex: "Currently only 'complex64' and 'complex128' dtypes
are allowed."
79s E Input: "data type 'c32' not understood"
79s
79s tests/test_h5netcdf.py:2709: AssertionError
79s =========================== short test summary info
============================
79s FAILED tests/test_h5netcdf.py::test_complex_type_creation_errors -
AssertionE...
79s ============ 1 failed, 99 passed, 51 skipped, 1 deselected in 6.28s
============
--- End Message ---
--- Begin Message ---
Source: python-h5netcdf
Source-Version: 1.4.0-3
Done: Drew Parsons <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-h5netcdf, 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.
Drew Parsons <[email protected]> (supplier of updated python-h5netcdf 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: SHA256
Format: 1.8
Date: Wed, 13 Nov 2024 00:08:15 +0100
Source: python-h5netcdf
Architecture: source
Version: 1.4.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1087199
Changes:
python-h5netcdf (1.4.0-3) unstable; urgency=medium
.
* Team upload.
* replace debian patches 32bit_skip_complex_type_creation.patch and
test_h5py_TypeError.patch with fix_tests_PR244.patch, applying
upstream PR#244 to fix tests. Closes: #1087199.
Checksums-Sha1:
0c0313240a668149c5aba7ee82c4528b7981b47b 2388 python-h5netcdf_1.4.0-3.dsc
83130680b6a64d53b0dc8660a7ea1043b7aa1611 6016
python-h5netcdf_1.4.0-3.debian.tar.xz
Checksums-Sha256:
ac8437ef871572d5cd61b1bb97a6d87cebc93a35a0b36793c61c409a754dc869 2388
python-h5netcdf_1.4.0-3.dsc
80aefc5181fad1944870468c0c6c4753c5f7eb55c0fbe0af05af494dbd8a3e35 6016
python-h5netcdf_1.4.0-3.debian.tar.xz
Files:
96e747ac5874849818fb8886a58fcee0 2388 python optional
python-h5netcdf_1.4.0-3.dsc
ff9b2e9d03851f86cfe591c648cfb796 6016 python optional
python-h5netcdf_1.4.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmcz4MQACgkQVz7x5L1a
AfrVNhAAqGFWRZWYrRhncpxMyQvBIocRt4I4d1RdA2mCtX6mAXKO8+bsHaZm+vc/
uOmhvBlzT8b+9FZS6pNDE8ZwQOhPfw+RHK1pfZw3gWFVi8HaMtLVL36IcfnlQLOm
yQZwOwaqeRMx2kne3+EClSCmnAcpW5Ov0rn2q6BWq4PWdscQ6QMpeIvG2eS8UAY/
m/uRGUamLjaxlFppc94LYbtwDZxaiCrWuZvmiscrBE1NIIQqVIVilBzuUlO2xsfe
ze1NJyL2+VUyTY+gV2kahkSIIgaVxDMaYHSNFMh+xMkgvdwPj0GngvjNlG10Jd9D
tvujgc9qgF8ycLZK+bMFwHp3ogvyASCe1CiRmiY/sFQNzNxFoIruOOfxWs/anwqG
Y4H4lWeF+1xj0R6T83H6I5GHhEtTOkxwDfSTSRgyj+zKjbaXBHK3LioVONbiQdXz
qnPz/qr2UujeZYRd0hX8fbC1Eccrjxm7v9T0yxQFTCZSjxJrS9f0Doq/NCHp7yit
RDKbC1x+FGY5rPrI9ie6rJJ9mqxOVS5FTh/Yp7XwwSpBOJsp59/abKyVNi8qxJN4
Vz+popVRc1M0pqcXWe6r/N0RX/ZnyRloHGvPPLNyNjmiEcqyUXbG7qNsSVoa8uOe
iM1gxGxIDWYQTam3+4917QlTX6wOOiqstsemtVGR0vCQRuff0XQ=
=Fk80
-----END PGP SIGNATURE-----
pgpoYcQRQ0btq.pgp
Description: PGP signature
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers