Your message dated Fri, 23 Nov 2018 15:34:17 +0000 with message-id <[email protected]> and subject line Bug#914245: fixed in h5py 2.8.0-2 has caused the Debian Bug report #914245, regarding h5py: FTBFS against hdf5 1.10.4 now in unstable 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.) -- 914245: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914245 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: h5py Version: 2.8.0-1 Severity: serious Tags: patch Justification: FTBFS -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hi, h5py FTBFS against hdf5 1.10.4 now transitioning into unstable: ====================================================================== ERROR: test_force_swmr_mode_on_raises (h5py.tests.hl.test_dataset_swmr.TestDatasetSwmrRead) Verify when reading a file cannot be forcibly switched to swmr mode. - ---------------------------------------------------------------------- Traceback (most recent call last): File "h5py/tests/hl/test_dataset_swmr.py", line 75, in test_force_swmr_mode_on_raises self.f.swmr_mode = True File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/_hl/files.py", line 268, in swmr_mode self.id.start_swmr_write() File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5f.pyx", line 510, in h5py.h5f.FileID.start_swmr_write TypeError: Unable to convert file format (no write intent on file) ====================================================================== ERROR: test_exc (h5py.tests.old.test_group.TestLen) len() on closed group gives ValueError - ---------------------------------------------------------------------- Traceback (most recent call last): File "h5py/tests/old/test_group.py", line 302, in test_exc len(self.f) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/_hl/group.py", line 318, in __len__ return self.id.get_num_objs() File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper File "h5py/h5g.pyx", line 331, in h5py.h5g.GroupID.get_num_objs TypeError: Not a location id (invalid object ID) This is due to some changes introduced in hdf5 1.10.3. Please find attached a patch backported from upstream repository. Thanks, _g. - -- System Information: Debian Release: buster/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAlv0eYsACgkQ7+hsbH/+ z4M1CQf/eNEpNVS++J7s9+9ydFCjv2PDDc7JOooChlJYhIfMFKe/aN6yUEWb6+qc 7bbk5Xx6oR+KU2OptDa9liUzSkvczzPB0KhGVpBOUSYKea3+g2ydCMf6m8KRJSPl kecdlpOS+sOzzt9dxYqhzXIYk8qBduSu8eAjMx1iMYwr4HWELTm4zQ2YQXf1CGI3 bWzVI8K6iqOIQgfjpi+Jari3SWKtQ4vEHBAU50epHJsfnOibF4Fdlc5eqk76m6x7 43+LUAYJ4UAvbtXySh2g7lf/qEEcG4g3U+q0ARyJB6RwO1jXhRokoDPVYmVuiZox 7Oi9wDkmHDzhqmhg+QabZRXQZbrI4A== =JQqV -----END PGP SIGNATURE-----diff -Nru h5py-2.8.0/debian/changelog h5py-2.8.0/debian/changelog --- h5py-2.8.0/debian/changelog 2018-08-04 18:54:06.000000000 +0200 +++ h5py-2.8.0/debian/changelog 2018-10-14 22:52:25.000000000 +0200 @@ -1,3 +1,10 @@ +h5py (2.8.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * New patch hdf5-1.10.3-support.patch: fix FTBFS against HDF5 1.10.3 + + -- Gilles Filippini <[email protected]> Sun, 14 Oct 2018 22:52:25 +0200 + h5py (2.8.0-1) unstable; urgency=medium * Team upload. diff -Nru h5py-2.8.0/debian/patches/hdf5-1.10.3-support.patch h5py-2.8.0/debian/patches/hdf5-1.10.3-support.patch --- h5py-2.8.0/debian/patches/hdf5-1.10.3-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ h5py-2.8.0/debian/patches/hdf5-1.10.3-support.patch 2018-10-14 22:52:25.000000000 +0200 @@ -0,0 +1,32 @@ +Description: backport upstream patch to fix FTBFS against HDF5 1.10.3 + +From 6653c65e8c8d024bbcf50315a1c5201487632322 Mon Sep 17 00:00:00 2001 +From: Thomas A Caswell <[email protected]> +Date: Thu, 11 Oct 2018 23:39:29 -0400 +Subject: [PATCH] FIX: adjust mapping of hdf5 error codes -> python error codes + +This is to account for changes to hdf5 between 1.10.2 and 1.10.3. + +Closes #1088 +--- + h5py/_errors.pyx | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx +index 76801f4f..23849f49 100644 +--- a/h5py/_errors.pyx ++++ b/h5py/_errors.pyx +@@ -73,6 +73,13 @@ _exact_table = { + (H5E_SYM, H5E_CANTINIT): ValueError, # Object already exists/1.8 + (H5E_ARGS, H5E_BADTYPE): ValueError, # Invalid location in file + (H5E_REFERENCE, H5E_CANTINIT): ValueError, # Dereferencing invalid ref ++ ++ # needed for 1.10.3 to maintain compatibility with 1.10.{0,1,2} ++ ++ # due to changes to H5Gdeprec.c:H5Gget_num_objs ++ (H5E_SYM, H5E_BADTYPE): ValueError, # Invalid location in file ++ # due to changes to H5F.c:H5Fstart_swmr_write ++ (H5E_FILE, H5E_CANTCONVERT): ValueError, # Invalid file format + } + + cdef struct err_data_t: diff -Nru h5py-2.8.0/debian/patches/series h5py-2.8.0/debian/patches/series --- h5py-2.8.0/debian/patches/series 2018-08-04 18:00:39.000000000 +0200 +++ h5py-2.8.0/debian/patches/series 2018-10-14 22:51:48.000000000 +0200 @@ -1,2 +1,3 @@ No-rpath.patch No-intersphinx.patch +hdf5-1.10.3-support.patch
--- End Message ---
--- Begin Message ---Source: h5py Source-Version: 2.8.0-2 We believe that the bug you reported is fixed in the latest version of h5py, 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. Mo Zhou <[email protected]> (supplier of updated h5py 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: Fri, 23 Nov 2018 15:00:39 +0000 Source: h5py Binary: python-h5py python-h5py-dbg python3-h5py python3-h5py-dbg python-h5py-doc Architecture: source Version: 2.8.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Mo Zhou <[email protected]> Description: python-h5py - general-purpose Python interface to hdf5 (Python 2) python-h5py-dbg - debug extensions for h5py (Python 2) python-h5py-doc - documentation for h5py python3-h5py - general-purpose Python interface to hdf5 (Python 3) python3-h5py-dbg - debug extensions for h5py (Python 3) Closes: 914245 Changes: h5py (2.8.0-2) unstable; urgency=medium . [ Andreas Tille ] * Remove unneeded get-orig-source target . [ Gilles Filippini ] * Fix FTBFS against HDF5 1.10.3 (Closes: #914245) (+ hdf5-1.10.3-support.patch) . [ Mo Zhou ] * Add myself to Uploaders. Checksums-Sha1: 5007eddc86630b93dbb83f18ba09068a65279ad9 2705 h5py_2.8.0-2.dsc d91152981e663c43b21bb3cd7d2ba61a199e0cf4 8144 h5py_2.8.0-2.debian.tar.xz e1f122bd25c948a632e4852cbac400dd295c4556 8915 h5py_2.8.0-2_source.buildinfo Checksums-Sha256: 4687a0edf576093d1437e5ececb90403b761e3e98200af1c5bd7727b0baf5182 2705 h5py_2.8.0-2.dsc b9c542b64c1536ac5af7d2368cbc6bcdca3ae0c96d0b87e1f9b86469ec16ccad 8144 h5py_2.8.0-2.debian.tar.xz e79fa7308b8b2c0fe421ab83d7953dce64a9c3e565dd0facd56f0cee2ebc507d 8915 h5py_2.8.0-2_source.buildinfo Files: 337b888419dad3b90ff9ac19510b964f 2705 python optional h5py_2.8.0-2.dsc 1f3ffda92a55dc7ae1e87e929e3dde48 8144 python optional h5py_2.8.0-2.debian.tar.xz 0a841be0b99473323263afb01d616bde 8915 python optional h5py_2.8.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAlv4GrgACgkQYmRes19o aoo/+w//ay/0858OKA6klrhhKsEAQ9GjbSH039K+dBRmKD3Q7vr2pTi4ha8s8DrA tEOP1VcyQsZXs7p65antQ2dcWOxGGJtMeTco45P7Dgn2qchr/Qu3DCbZhv8WTFZn +I3WccNfACu8AojOukYXPVXJ7enBDl7FhhEfDBH3M2m2WsL1zH5nfg27fDxCCRfd bym5G6XRo7sdgkNMSiaF/BRJpgw+DsYTr+qItV5Mns5GH5qVKkHCltKu7aFPbzJZ 9B0kalnZZX7XhMcg+sJToTrADZXecxiZn2sNad5hCZygEHBVvJavc47BY87Os92R Uh/rD6c4UPQFiWgEfUX3Y6a0aICF9j8VkVSO2NpoF4bZ7kpGKBmK5Mb62TKJchZM fEFecVLRw6sl+MdBuMCNjCvRRMAeJOZsz7yS4Pf3sm1vXf1P1acRhdtY/wq70416 0ewxgTgNtassdtBQA3YpNhnXvJInLv6+QGt6Ucsc6eCI6WRRSUM/Ega81Ymxzlsw Z2Tp5UK2HWthry3huWPzO/RfbUOivhw+Hnwp5jUJc/Ru4Q2xnfB2oerKKFKhbMqc vP49E+bYsPlJ+0rfhElHaNqUcM90AB5slHcVTTSTS9TdV5hNOKhD/VulTToMaO+S XlVf3rC0OI1f6H0HulC/OleBhX4zBcQCgQx/SAHo1g1HFV9ahBQ= =LArV -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
