[Debian-med-packaging] Bug#1056408: hdmf's autopkg tests fail with Python 3.12

Matthias Klose doko at debian.org
Wed Nov 22 12:13:12 GMT 2023


Package: src:hdmf
Version: 3.5.1-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12

hdmf's autopkg tests fail with Python 3.12:

[...]
399s
399s ======================================================================
399s FAIL: test_abstract_assertions 
(tests.unit.utils_test.test_core_GenericDataChunkIterator.GenericDataChunkIteratorTests.test_abstract_assertions)
399s ----------------------------------------------------------------------
399s TypeError: Can't instantiate abstract class 
TestGenericDataChunkIterator without an implementation for abstract 
methods '_get_data', '_get_dtype', '_get_maxshape'
399s
399s During handling of the above exception, another exception occurred:
399s
399s Traceback (most recent call last):
399s   File 
"/tmp/autopkgtest.RYtHWe/autopkgtest_tmp/tests/unit/utils_test/test_core_GenericDataChunkIterator.py", 
line 88, in test_abstract_assertions
399s     with self.assertRaisesWith(
399s AssertionError: "^Can't\ instantiate\ abstract\ class\ 
TestGenericDataChunkIterator\ with\ abstract\ methods\ _get_data,\ 
_get_dtype,\ _get_maxshape$" does not match "Can't instantiate abstract 
class TestGenericDataChunkIterator without an implementation for 
abstract methods '_get_data', '_get_dtype', '_get_maxshape'"
399s
399s ----------------------------------------------------------------------
399s Ran 1348 tests in 7.217s
399s
399s FAILED (failures=1, skipped=17, expected failures=1)
400s autopkgtest [18:25:55]: test run-unit-test: -----------------------]



More information about the Debian-med-packaging mailing list