[Debian-med-packaging] Bug#1053274: ont-fast5-api: test_001_read_events fails with h5py 3.9.0: 'AstypeWrapper' object does not support the context manager protocol

Drew Parsons dparsons at debian.org
Sat Sep 30 10:19:15 BST 2023


Source: ont-fast5-api
Version: 4.1.1+dfsg-2
Severity: serious
Justification: debci

h5py 3.9.0 is triggering an error ont-fast5-api debci tests,
https://ci.debian.net/data/autopkgtest/testing/amd64/o/ont-fast5-api/38279479/log.gz


 33s ERROR: test_001_read_events (test.test_event_detection_tools.TestEventDetectionTools.test_001_read_events)
 33s ----------------------------------------------------------------------
 33s Traceback (most recent call last):
 33s   File "/tmp/autopkgtest-lxc.jqw02kin/downtmp/autopkgtest_tmp/test/test_event_detection_tools.py", line 26, in test_001_read_events
 33s     data, attrs = fh.get_event_data(time_in_seconds=True)
 33s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 33s   File "/usr/lib/python3/dist-packages/ont_fast5_api/analysis_tools/event_detection.py", line 84, in get_event_data
 33s     with dataset.astype(np.dtype(descr)):
 33s TypeError: 'AstypeWrapper' object does not support the context manager protocol
 33s 
 33s ----------------------------------------------------------------------
 33s Ran 76 tests in 1.416s
 33s 
 33s FAILED (errors=1, skipped=5)



More information about the Debian-med-packaging mailing list