Source: python-dicompylercore Version: 0.5.5-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230113 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > dh binary --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_autoreconf -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:240: python3.11 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:240: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/util.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/dvh.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/dicomparser.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/config.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > copying dicompylercore/dvhcalc.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/dicompylercore > running egg_info > creating dicompyler_core.egg-info > writing dicompyler_core.egg-info/PKG-INFO > writing dependency_links to dicompyler_core.egg-info/dependency_links.txt > writing requirements to dicompyler_core.egg-info/requires.txt > writing top-level names to dicompyler_core.egg-info/top_level.txt > writing manifest file 'dicompyler_core.egg-info/SOURCES.txt' > reading manifest file 'dicompyler_core.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '__pycache__' found under > directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > warning: no previously-included files matching '*.DS_Store' found under > directory '*' > adding license file 'LICENSE' > adding license file 'AUTHORS.rst' > writing manifest file 'dicompyler_core.egg-info/SOURCES.txt' > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:240: python3.11 setup.py test > running test > WARNING: Testing via this command is deprecated and will be removed in a > future version. Users looking for a generic test entry point independent of > test runner are encouraged to use tox. > running egg_info > writing dicompyler_core.egg-info/PKG-INFO > writing dependency_links to dicompyler_core.egg-info/dependency_links.txt > writing requirements to dicompyler_core.egg-info/requires.txt > writing top-level names to dicompyler_core.egg-info/top_level.txt > reading manifest file 'dicompyler_core.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '__pycache__' found under > directory '*' > warning: no previously-included files matching '*.py[co]' found under > directory '*' > warning: no previously-included files matching '*.DS_Store' found under > directory '*' > adding license file 'LICENSE' > adding license file 'AUTHORS.rst' > writing manifest file 'dicompyler_core.egg-info/SOURCES.txt' > running build_ext > generated new fontManager > test_absolute_relative_dose_dvh > (tests.test_dvh.TestDVH.test_absolute_relative_dose_dvh) > Test if an absolute and relative dose DVH can be generated. ... ok > test_absolute_relative_full_conversion > (tests.test_dvh.TestDVH.test_absolute_relative_full_conversion) > Test if an abs / relative volume / dose DVH can be generated. ... ok > test_absolute_relative_volume_dvh > (tests.test_dvh.TestDVH.test_absolute_relative_volume_dvh) > Test if an absolute and relative volume DVH can be generated. ... ok > test_cumulative_dvh (tests.test_dvh.TestDVH.test_cumulative_dvh) > Test if a differential DVH can be converted to a cumulative DVH. ... ok > test_differential_dvh (tests.test_dvh.TestDVH.test_differential_dvh) > Test if a cumulative DVH can be converted to a differential DVH. ... ok > test_dose_constraint_with_no_counts > (tests.test_dvh.TestDVH.test_dose_constraint_with_no_counts) ... ok > test_dose_constraint_with_zero_volume > (tests.test_dvh.TestDVH.test_dose_constraint_with_zero_volume) ... ok > test_dvh_compare (tests.test_dvh.TestDVH.test_dvh_compare) > Test if the DVH comparsion summary can be generated. ... ok > test_dvh_describe (tests.test_dvh.TestDVH.test_dvh_describe) > Test if the DVH statistics summary can be generated. ... ok > test_dvh_properties (tests.test_dvh.TestDVH.test_dvh_properties) > Test if the DVH properties can be derived. ... ok > test_dvh_statistics (tests.test_dvh.TestDVH.test_dvh_statistics) > Test if the DVH statistics can be calculated. ... ok > test_dvh_statistics_shorthand > (tests.test_dvh.TestDVH.test_dvh_statistics_shorthand) > Test if the DVH statistics can be accessed via shorthand. ... ok > test_dvh_statistics_shorthand_fail > (tests.test_dvh.TestDVH.test_dvh_statistics_shorthand_fail) > Test if the DVH statistics shorthand fail on invalid syntaxes. ... ok > test_dvh_statistics_with_no_counts > (tests.test_dvh.TestDVH.test_dvh_statistics_with_no_counts) ... ok > test_dvh_statistics_with_zero_volume > (tests.test_dvh.TestDVH.test_dvh_statistics_with_zero_volume) ... ok > test_dvh_value (tests.test_dvh.TestDVH.test_dvh_value) > Test if the DVHValue class works as expected. ... ok > test_plotting (tests.test_dvh.TestDVH.test_plotting) > Test if the DVH can be plotted. ... ok > test_raw_data_dvh (tests.test_dvh.TestDVH.test_raw_data_dvh) > Test if a DVH can be created from raw data. ... ok > test_raw_data_dvh_max_bins (tests.test_dvh.TestDVH.test_raw_data_dvh_max_bins) > Test if a DVH can be created from raw data with [0, 5] bin. ... ok > test_dataset_import (tests.test_dicomparser.TestCommon.test_dataset_import) > Test if a pydicom dataset file can be parsed. ... ok > test_demographics (tests.test_dicomparser.TestCommon.test_demographics) > Test if the demographics info can be parsed. ... ok > test_file_import (tests.test_dicomparser.TestCommon.test_file_import) > Test if a standard DICOM file can be parsed. ... ok > test_frame_of_reference > (tests.test_dicomparser.TestCommon.test_frame_of_reference) > Test if the frame of reference can be parsed. ... ok > test_series_info (tests.test_dicomparser.TestCommon.test_series_info) > Test if the series info can be parsed. ... ok > test_study_info (tests.test_dicomparser.TestCommon.test_study_info) > Test if the study info can be parsed. ... ok > test_image_data (tests.test_dicomparser.TestImage.test_image_data) > Test if the image data info can be parsed. ... ok > test_image_generation (tests.test_dicomparser.TestImage.test_image_generation) > Test if the image can be generated. ... ok > test_image_location (tests.test_dicomparser.TestImage.test_image_location) > Test if the image location can be parsed. ... ok > test_image_orientation > (tests.test_dicomparser.TestImage.test_image_orientation) > Test if the image orientation can be parsed. ... ok > test_patient_to_pixel_lut > (tests.test_dicomparser.TestImage.test_patient_to_pixel_lut) > Test if the image transformation matrix (LUT) can be generated. ... > /<<PKGBUILDDIR>>/dicompylercore/dicomparser.py:440: > PendingDeprecationWarning: the matrix subclass is not the recommended way to > represent matrices or deal with linear algebra (see > https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please > adjust your code to use regular ndarray. > m = np.matrix( > /<<PKGBUILDDIR>>/dicompylercore/dicomparser.py:449: > PendingDeprecationWarning: the matrix subclass is not the recommended way to > represent matrices or deal with linear algebra (see > https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please > adjust your code to use regular ndarray. > imat = m * np.matrix([[i], [0], [0], [1]]) > /usr/lib/python3/dist-packages/numpy/matrixlib/defmatrix.py:69: > PendingDeprecationWarning: the matrix subclass is not the recommended way to > represent matrices or deal with linear algebra (see > https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please > adjust your code to use regular ndarray. > return matrix(data, dtype=dtype, copy=False) > /<<PKGBUILDDIR>>/dicompylercore/dicomparser.py:452: > PendingDeprecationWarning: the matrix subclass is not the recommended way to > represent matrices or deal with linear algebra (see > https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please > adjust your code to use regular ndarray. > jmat = m * np.matrix([[0], [j], [0], [1]]) > ok > test_dose_data (tests.test_dicomparser.TestRTDose.test_dose_data) > Test if the dose data can be parsed. ... ok > test_dose_grid (tests.test_dicomparser.TestRTDose.test_dose_grid) > Test if the dose grid can be parsed. ... ok > test_dvh_data (tests.test_dicomparser.TestRTDose.test_dvh_data) > Test if the DVH data can be parsed. ... ok > test_has_dvhs (tests.test_dicomparser.TestRTDose.test_has_dvhs) > Test if DVHs exist in the dataset. ... ok > test_isodose_points (tests.test_dicomparser.TestRTDose.test_isodose_points) > Test if isodose points can be generated from the dose grid. ... ok > test_referenced_plan (tests.test_dicomparser.TestRTDose.test_referenced_plan) > Test if the referenced plan can be parsed. ... ok > test_plan_beams_in_fraction > (tests.test_dicomparser.TestRTPlan.test_plan_beams_in_fraction) > Test if beams for a given fraction data can be parsed. ... ok > test_plan_data (tests.test_dicomparser.TestRTPlan.test_plan_data) > Test if the plan data can be parsed. ... ok > test_referenced_structureset > (tests.test_dicomparser.TestRTPlan.test_referenced_structureset) > Test if the referenced structure set can be parsed. ... ok > test_referenced_frame_of_reference > (tests.test_dicomparser.TestRTStructureSet.test_referenced_frame_of_reference) > Test if the referenced frame of reference can be parsed. ... ok > test_referenced_series > (tests.test_dicomparser.TestRTStructureSet.test_referenced_series) > Test if the referenced series can be parsed. ... ok > test_structure_plane_thickness > (tests.test_dicomparser.TestRTStructureSet.test_structure_plane_thickness) > Test if a structure plane thickness can be parsed. ... ok > test_structure_set_coordinates > (tests.test_dicomparser.TestRTStructureSet.test_structure_set_coordinates) > Test if the structure set coordinates can be parsed. ... ok > test_structure_set_data > (tests.test_dicomparser.TestRTStructureSet.test_structure_set_data) > Test if the structure set data can be parsed. ... ok > test_structure_set_info > (tests.test_dicomparser.TestRTStructureSet.test_structure_set_info) > Test if the structure set info can be parsed. ... ok > test_structure_volume > (tests.test_dicomparser.TestRTStructureSet.test_structure_volume) > Test if a structure volume can be calculated. ... ok > test_structure_volume_holes > (tests.test_dicomparser.TestRTStructureSet.test_structure_volume_holes) > Test if a structure volume with holes can be calculated. ... > /<<PKGBUILDDIR>>/dicompylercore/dicomparser.py:610: > ShapelyDeprecationWarning: Setting custom attributes on geometry objects is > deprecated, and will raise an AttributeError in Shapely 2.0 > self.o = o > ok > test_dvh_calculation (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation) > Test if cumulative DVHs can be calculated from the DICOM data. ... > /<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py:240: FutureWarning: In the future > `np.bool` will be defined as the corresponding NumPy scalar. (This may have > returned Python scalars in past versions. > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ERROR > test_dvh_calculation_empty_structure_no_dose > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation_empty_structure_no_dose) > Test if a DVH returns an empty histogram for invalid data. ... ok > test_dvh_calculation_with_dose_limit > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation_with_dose_limit) > Test if a DVH can be calculated with a max dose limit. ... ERROR > test_dvh_calculation_with_interpolation_between_planes > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation_with_interpolation_between_planes) > Test if DVH can be calculated using interpolation between planes. ... ERROR > test_dvh_contour_outside_dose_grid > (tests.test_dvhcalc.TestDVHCalc.test_dvh_contour_outside_dose_grid) > Test if a DVH can be calculated with contours outside a dosegrid. ... ERROR > test_dvh_with_in_plane_interpolation > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_in_plane_interpolation) > Test if DVH can be calculated using in plane interpolation. ... ERROR > test_dvh_with_in_plane_interpolation_sampling_fail > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_in_plane_interpolation_sampling_fail) > Test if DVH calculation fails when the sampling rate is invalid. ... ok > test_dvh_with_structure_extents > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_structure_extents) > Test if DVH calculation is same as normal with structure extents. ... ERROR > test_dvh_with_structure_extents_larger_than_dose_grid > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_structure_extents_larger_than_dose_grid) > Test DVH calculation using large structure structure extents. ... ERROR > > ====================================================================== > ERROR: test_dvh_calculation > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation) > Test if cumulative DVHs can be calculated from the DICOM data. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 86, in > test_dvh_calculation > dvh = self.calc_dvh(5) > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ====================================================================== > ERROR: test_dvh_calculation_with_dose_limit > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation_with_dose_limit) > Test if a DVH can be calculated with a max dose limit. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 104, in > test_dvh_calculation_with_dose_limit > limitdvh = self.calc_dvh(5, limit=500) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ====================================================================== > ERROR: test_dvh_calculation_with_interpolation_between_planes > (tests.test_dvhcalc.TestDVHCalc.test_dvh_calculation_with_interpolation_between_planes) > Test if DVH can be calculated using interpolation between planes. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 184, in > test_dvh_calculation_with_interpolation_between_planes > dvh = self.calc_dvh(8, interpolation_segments=2) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ====================================================================== > ERROR: test_dvh_contour_outside_dose_grid > (tests.test_dvhcalc.TestDVHCalc.test_dvh_contour_outside_dose_grid) > Test if a DVH can be calculated with contours outside a dosegrid. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 135, in > test_dvh_contour_outside_dose_grid > include_vol_dvh = self.calc_dvh(8, calculate_full_volume=True) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ====================================================================== > ERROR: test_dvh_with_in_plane_interpolation > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_in_plane_interpolation) > Test if DVH can be calculated using in plane interpolation. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 144, in > test_dvh_with_in_plane_interpolation > interp_dvh = self.calc_dvh( > ^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 142, in > calculate_dvh > dd['lut'] = get_resampled_lut( > ^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 419, in > get_resampled_lut > x = np.linspace(extents[0], extents[2], int(xsamples), dtype=np.float) > ^^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'float' > > ====================================================================== > ERROR: test_dvh_with_structure_extents > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_structure_extents) > Test if DVH calculation is same as normal with structure extents. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 163, in > test_dvh_with_structure_extents > orig_dvh = self.calc_dvh(8) > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ====================================================================== > ERROR: test_dvh_with_structure_extents_larger_than_dose_grid > (tests.test_dvhcalc.TestDVHCalc.test_dvh_with_structure_extents_larger_than_dose_grid) > Test DVH calculation using large structure structure extents. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 172, in > test_dvh_with_structure_extents_larger_than_dose_grid > structure_extents_dvh = self.calc_dvh(3, use_structure_extents=True) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/tests/test_dvhcalc.py", line 45, in calc_dvh > dvh = dvhcalc.get_dvh( > ^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 72, in get_dvh > calcdvh = calculate_dvh(s, rtdose, limit, calculate_full_volume, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 187, in > calculate_dvh > planedata[z] = calculate_plane_histogram(plane, doseplane, > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/<<PKGBUILDDIR>>/dicompylercore/dvhcalc.py", line 240, in > calculate_plane_histogram > grid = np.logical_xor(m.astype(np.uint8), grid).astype(np.bool) > ^^^^^^^ > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in > __getattr__ > raise AttributeError("module {!r} has no attribute " > AttributeError: module 'numpy' has no attribute 'bool' > > ---------------------------------------------------------------------- > Ran 56 tests in 1.456s > > FAILED (errors=7) > Test failed: <unittest.runner.TextTestResult run=56 errors=7 failures=0> > Structure: test test Rel Diff Abs diff > ----- > DVH Type: cumulative, abs dose: Gy, abs volume: cm3 > Volume: 12.81 cm3 12.81 cm3 +0.00 % +0.00 > Max: 14.58 Gy 14.58 Gy +0.00 % +0.00 > Min: 14.07 Gy 14.07 Gy +0.00 % +0.00 > Mean: 14.29 Gy 14.29 Gy +0.00 % +0.00 > D100: 14.06 Gy 14.06 Gy +0.00 % +0.00 > D98: 14.12 Gy 14.12 Gy +0.00 % +0.00 > D95: 14.14 Gy 14.14 Gy +0.00 % +0.00 > D2cc: 14.39 Gy 14.39 Gy +0.00 % +0.00 > Structure: test test Rel Diff Abs diff > ----- > DVH Type: cumulative, rel dose, abs volume: cm3 > Volume: 12.81 cm3 12.81 cm3 +0.00 % +0.00 > Max: 104.14 % 104.14 % +0.00 % +0.00 > Min: 100.50 % 100.50 % +0.00 % +0.00 > Mean: 102.04 % 102.04 % +0.00 % +0.00 > D100: 100.43 % 100.43 % +0.00 % +0.00 > D98: 100.86 % 100.86 % +0.00 % +0.00 > D95: 101.00 % 101.00 % +0.00 % +0.00 > V100: 12.81 % 12.81 % +0.00 % +0.00 > V95: 12.81 % 12.81 % +0.00 % +0.00 > V5: 12.81 % 12.81 % +0.00 % +0.00 > D2cc: 102.79 % 102.79 % +0.00 % +0.00 > Structure: test > ----- > DVH Type: cumulative, abs dose: Gy, abs volume: cm3 > Volume: 12.81 cm3 > Max Dose: 14.58 Gy > Min Dose: 14.07 Gy > Mean Dose: 14.29 Gy > D100: 14.06 Gy > D98: 14.12 Gy > D95: 14.14 Gy > D2cc: 14.39 Gy > Structure: test > ----- > DVH Type: cumulative, rel dose, abs volume: cm3 > Volume: 12.81 cm3 > Max Dose: 104.14 % > Min Dose: 100.50 % > Mean Dose: 102.04 % > D100: 100.43 % > D98: 100.86 % > D95: 101.00 % > V100: 12.81 cm3 > V95: 12.81 cm3 > V5: 12.81 cm3 > D2cc: 102.79 % > error: Test failed: <unittest.runner.TextTestResult run=56 errors=7 > failures=0> > E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: > python3.11 setup.py test > dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit > code 13 The full build log is available from: http://qa-logs.debian.net/2023/01/13/python-dicompylercore_0.5.5-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.