Bug#931736: h5py: FTBFS against HDF5 1.10.5

Gilles Filippini pini at debian.org
Mon Jul 15 14:19:14 BST 2019


Control: tags -1 + patch
Control: forwarded -1 https://github.com/h5py/h5py/issues/1180

Hi,

On Tue, 09 Jul 2019 21:37:56 +0200 Gilles Filippini <pini at debian.org> wrote:
> Source: h5py
> Version: 2.9.0-1
> Severity: normal
> 
> Hi,
> 
> During a rebuild against HDF5 1.10.5 currently in experimental, h5py FTBFS with:
> 
> set -e; for DIR in $(find .pybuild -name build | grep -v _dbg_); do \
>         cd $DIR; PYTHONPATH=. python$(echo $DIR | sed -e 's at .*cpython._\(.*\)_h5py.*@\1 at g') \
>         -c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)"; \
>         cd ../../..; done
> ...........E...........................................x........................................................................x....................................s/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/files.py:258: H5pyDeprecationWarning: File.fid has been deprecated. Use File.id instead.
>   "Use File.id instead.", H5pyDeprecationWarning)
> ...s......ss.......................................................................................................ssssss.....................................................................x....x.........................x......x..................................................ssss............................................................
> ======================================================================
> ERROR: test_track_order (h5py.tests.old.test_attrs.TestTrackOrder)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 180, in test_track_order
>     attrs = self.fill_attrs(track_order=True)  # creation order
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/tests/old/test_attrs.py", line 174, in fill_attrs
>     attrs[str(i)] = i
>   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 "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 95, in __setitem__
>     self.create(name, data=value, dtype=base.guess_dtype(value))
>   File "/build/h5py-V5ZcPx/h5py-2.9.0/.pybuild/cpython3_3.7_h5py/build/h5py/_hl/attrs.py", line 210, in create
>     h5a.rename(self._id, self._e(tempname), self._e(name))
>   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/h5a.pyx", line 118, in h5py.h5a.rename
> RuntimeError: Can't rename attribute (record is already in B-tree)
> 
> ----------------------------------------------------------------------
> Ran 509 tests in 1.117s
> 
> FAILED (errors=1, skipped=14, expected failures=6)

This is upstream bug #1180 [1], related to HDF5 bug HDFFV-10579.
A patch is available [2].

|1] https://github.com/h5py/h5py/issues/1180
[2] https://github.com/h5py/h5py/pull/1186

Thanks,

_g.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190715/fe8ac3da/attachment.sig>


More information about the debian-science-maintainers mailing list