Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:dcmstack, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
pybuild --clean -i python{version} -p "3.14 3.13" --parallel=2
I: pybuild base:385: python3.14 setup.py clean
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
[... snipped ...]
test/test_cli.py:56: AssertionError
----------------------------- Captured stdout call -----------------------------
No DICOM files found in /tmp/dcmstack_cli_test_innmxkt4dw
E assert 0 == 1
E + where 0 = len([])
test/test_cli.py:60: AssertionError
----------------------------- Captured stdout call -----------------------------
No DICOM files found in /tmp/dcmstack_cli_test_innmxkt4dw
test/test_cli.py:65: IndexError
----------------------------- Captured stdout call -----------------------------
No DICOM files found in /tmp/dcmstack_cli_test_innmxkt4dw
test/test_dcmmeta.py:1042: AttributeError
test/test_dcmstack.py:212: AttributeError
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_dcmstack.py:640:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src_paths = ['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/test/data/dcmstack/2D_16Echo_qT2/TE_20_Slc...dcmstack-0.9/.pybuild/cpython3_3.13_dcmstack/build/test/data/dcmstack/2D_16Echo_qT2/TE_40_SlcPos_-23.207628249046.dcm']
group_by = ('SeriesInstanceUID', 'SeriesNumber', 'ProtocolName', 'ImageOrientationPatient')
extractor = <dcmstack.extract.MetaExtractor object at 0x7fe50b176ba0>
force = False, warn_on_except = False
close_tests = ('ImageOrientationPatient',)
def parse_and_group(src_paths, group_by=default_group_keys, extractor=None,
force=False, warn_on_except=False,
close_tests=default_close_keys):
'''Parse the given dicom files and group them together. Each group is
stored as a (list) value in a dict where the key is a tuple of values
corresponding to the keys in 'group_by'
Parameters
----------
src_paths : sequence
A list of paths to the source DICOM files.
group_by : tuple
Meta data keys to group data sets with. Any data set with the same
values for these keys will be grouped together. This tuple of values
will also be the key in the result dictionary.
extractor : callable
Should take a pydicom.dataset.Dataset and return a dictionary of the
extracted meta data.
force : bool
Force reading source files even if they do not appear to be DICOM.
warn_on_except : bool
Convert exceptions into warnings, possibly allowing some results to be
returned.
close_tests : sequence
Any `group_by` key listed here is tested with `numpy.allclose` instead
of straight equality when determining group membership.
Returns
-------
groups : dict
A dict mapping tuples of values (corresponding to 'group_by') to groups
of data sets. Each element in the list is a tuple containing the dicom
object, the parsed meta data, and the filename.
'''
if extractor is None:
from .extract import default_extractor
extractor = default_extractor
results = {}
close_elems = {}
for dcm_path in src_paths:
#Read the DICOM file
try:
dcmstack/dcmstack.py:1046: AttributeError
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
test/test_dcmstack.py:666:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dcmstack/dcmstack.py:1156: in parse_and_stack
results = parse_and_group(src_paths,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src_paths = ['/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/test/data/dcmstack/2D_16Echo_qT2/TE_20_Slc...dcmstack-0.9/.pybuild/cpython3_3.13_dcmstack/build/test/data/dcmstack/2D_16Echo_qT2/TE_40_SlcPos_-23.207628249046.dcm']
group_by = ('SeriesInstanceUID', 'SeriesNumber', 'ProtocolName', 'ImageOrientationPatient')
extractor = <dcmstack.extract.MetaExtractor object at 0x7fe50b176ba0>
force = False, warn_on_except = False
close_tests = ('ImageOrientationPatient',)
def parse_and_group(src_paths, group_by=default_group_keys, extractor=None,
force=False, warn_on_except=False,
close_tests=default_close_keys):
'''Parse the given dicom files and group them together. Each group is
stored as a (list) value in a dict where the key is a tuple of values
corresponding to the keys in 'group_by'
Parameters
----------
src_paths : sequence
A list of paths to the source DICOM files.
group_by : tuple
Meta data keys to group data sets with. Any data set with the same
values for these keys will be grouped together. This tuple of values
will also be the key in the result dictionary.
extractor : callable
Should take a pydicom.dataset.Dataset and return a dictionary of the
extracted meta data.
force : bool
Force reading source files even if they do not appear to be DICOM.
warn_on_except : bool
Convert exceptions into warnings, possibly allowing some results to be
returned.
close_tests : sequence
Any `group_by` key listed here is tested with `numpy.allclose` instead
of straight equality when determining group membership.
Returns
-------
groups : dict
A dict mapping tuples of values (corresponding to 'group_by') to groups
of data sets. Each element in the list is a tuple containing the dicom
object, the parsed meta data, and the filename.
'''
if extractor is None:
from .extract import default_extractor
extractor = default_extractor
results = {}
close_elems = {}
for dcm_path in src_paths:
#Read the DICOM file
try:
dcmstack/dcmstack.py:1046: AttributeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_basic
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_embed
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestNitoolCli::test_basic
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/dcmstack/dcmstack.py:1049: UserWarning: Error reading file /tmp/dcmstack_cli_test_innmxkt4dw/TE_20_SlcPos_-23.207628249046.dcm: module 'pydicom' has no attribute 'read_file'
warnings.warn('Error reading file %s: %s' % (dcm_path, str(e)))
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_basic
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_embed
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestNitoolCli::test_basic
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/dcmstack/dcmstack.py:1049: UserWarning: Error reading file /tmp/dcmstack_cli_test_innmxkt4dw/TE_20_SlcPos_-33.707626341697.dcm: module 'pydicom' has no attribute 'read_file'
warnings.warn('Error reading file %s: %s' % (dcm_path, str(e)))
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_basic
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_embed
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestNitoolCli::test_basic
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/dcmstack/dcmstack.py:1049: UserWarning: Error reading file /tmp/dcmstack_cli_test_innmxkt4dw/TE_40_SlcPos_-33.707626341697.dcm: module 'pydicom' has no attribute 'read_file'
warnings.warn('Error reading file %s: %s' % (dcm_path, str(e)))
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_basic
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestDcmstackCli::test_embed
.pybuild/cpython3_3.13_dcmstack/build/test/test_cli.py::TestNitoolCli::test_basic
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_dcmstack/build/dcmstack/dcmstack.py:1049: UserWarning: Error reading file /tmp/dcmstack_cli_test_innmxkt4dw/TE_40_SlcPos_-23.207628249046.dcm: module 'pydicom' has no attribute 'read_file'
warnings.warn('Error reading file %s: %s' % (dcm_path, str(e)))
.pybuild/cpython3_3.13_dcmstack/build/test/test_dcmstack.py::test_fsl_hack
.pybuild/cpython3_3.13_dcmstack/build/test/test_dcmstack.py::test_pix_overflow
/usr/lib/python3/dist-packages/pydicom/dataset.py:1378: DeprecationWarning: 'Dataset.is_little_endian' will be removed in v4.0, set the Transfer Syntax UID or use the 'little_endian' argument with Dataset.save_as() or dcmwrite() instead
warn_and_log(