Your message dated Tue, 03 Oct 2023 08:09:13 +0530
with message-id <b56bc7e6-59f4-4390-a3f8-3ef88290f...@debian.org>
and subject line Re: Bug#1053267 hickle: test_H5NodeFilterProxy fails with h5py
3.9.0: Unable to delete attribute (no write intent on file)
has caused the Debian Bug report #1053267,
regarding hickle: test_H5NodeFilterProxy fails with h5py 3.9.0: Unable to
delete attribute (no write intent on file)
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 ow...@bugs.debian.org
immediately.)
--
1053267: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053267
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Version: 5.0.2-7
This should work with both the versions of h5py now. It was more of a test
thing than anything else.
--- End Message ---