Bug#1053267: marked as done (hickle: test_H5NodeFilterProxy fails with h5py 3.9.0: Unable to delete attribute (no write intent on file))

2023-10-02 Thread Debian Bug Tracking System
Your message dated Tue, 03 Oct 2023 08:09:13 +0530
with message-id 
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 = 
 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 ---


Bug#1053267: marked as done (hickle: test_H5NodeFilterProxy fails with h5py 3.9.0: Unable to delete attribute (no write intent on file))

2023-10-01 Thread Debian Bug Tracking System
Your message dated Sun, 01 Oct 2023 18:34:12 +
with message-id 
and subject line Bug#1053267: fixed in hickle 5.0.2-6
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 = 
 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 ---
Source: hickle
Source-Version: 5.0.2-6
Done: Edward Betts 

We believe that the bug you reported is fixed in the latest version of
hickle, 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 1053...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Edward Betts  (supplier of updated hickle 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sun, 01 Oct 2023 19:16:58 +0100
Source: hickle
Architecture: source
Version: 5.0.2-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team 
Changed-By: Edward Betts 
Closes: 1053267
Changes:
 hickle (5.0.2-6) unstable; urgency=medium
 .
   * Apply patch from Nilesh Patra to allow unit tests to work with latest
 version of h5py. (Closes: #1053267)
Checksums-Sha1:
 e049eb7e93b11976f349fa33f771e31915cd867a 2276 hickle_5.0.2-6.dsc
 08aeac6eba546630a8e52e3adef43a8918d15fdd 3620 hickle_5.0.2-6.debian.tar.xz
 a00bb9dc3b42d57743055fab2b5978d828beaba7 10657 hickle_5.0.2-6_source.buildinfo
Checksums-Sha256:
 c2ddd06d661de0fc1b8fbafa4b635e057ccd29450749d0e83a3491c405df8b87 2276 
hickle_5.0.2-6.dsc
 06574b984c6f9400917605ac9a269c8e561c5315e37111b01cf81018508ccd97 3620 
hickle_5.0.2-6.debian.tar.xz
 b6a8f76eab92363497a2c01ac6f637c404b2dcbfa958ac88e09c7640131126bb 10657 
hickle_5.0.2-6_source.buildinfo
Files:
 f59c5e889228dcd92f6919c3bc1f8898 2276 python optional hickle_5.0.2-6.dsc
 61435c7fb0afce46cc713536beffbc26 3620 python optional 
hickle_5.0.2-6.debian.tar.xz
 0aaeb4254446079456991f19c1d9f221 10657