Source: hickle
Version: 5.0.2-5
Severity: serious
Justification: debci

h5py 3.9.0 is triggering an error in hickle tests, found by debci,
https://ci.debian.net/data/autopkgtest/testing/amd64/h/hickle/38279474/log.gz

 62s ____________________________ test_H5NodeFilterProxy 
____________________________
 62s 
 62s h5_data = <HDF5 file "hickle_helpers_test_H5NodeFilterProxy.hdf5" (mode r)>
 62s 
 62s     def test_H5NodeFilterProxy(h5_data):
 62s         """
 62s         tests H5NodeFilterProxy class. This class allows to temporarily 
rewrite
 62s         attributes of h5py.Group and h5py.Dataset nodes before being 
loaded by
 62s         hickle._load method.
 62s         """
 62s     
 62s         # load data and try to directly modify 'type' and 'base_type' 
Attributes
 62s         # which will fail cause hdf5 file is opened for read only
 62s         h5_node = h5_data['somedata']
 62s         with pytest.raises(OSError):
 62s             try:
 62s >               h5_node.attrs['type'] = pickle.dumps(list)
 62s 
 62s 
/tmp/autopkgtest-lxc.kwo7jiul/downtmp/build.aWU/src/hickle/tests/test_01_hickle_helpers.py:126:
 
 62s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 62s h5py/_debian_h5py_serial/_objects.pyx:54: in 
h5py._debian_h5py_serial._objects.with_phil.wrapper
 62s     ???
 62s h5py/_debian_h5py_serial/_objects.pyx:55: in 
h5py._debian_h5py_serial._objects.with_phil.wrapper
 62s     ???
 62s /usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/attrs.py:104: 
in __setitem__
 62s     self.create(name, data=value)
 62s /usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/_hl/attrs.py:200: 
in create
 62s     h5a.delete(self._id, name)
 62s h5py/_debian_h5py_serial/_objects.pyx:54: in 
h5py._debian_h5py_serial._objects.with_phil.wrapper
 62s     ???
 62s h5py/_debian_h5py_serial/_objects.pyx:55: in 
h5py._debian_h5py_serial._objects.with_phil.wrapper
 62s     ???
 62s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 62s 
 62s >   ???
 62s E   KeyError: 'Unable to delete attribute (no write intent on file)'
 62s 
 62s h5py/_debian_h5py_serial/h5a.pyx:145: KeyError

Reply via email to