Your message dated Sat, 14 Jan 2023 15:34:36 +0000
with message-id <e1pgiyg-005n7b...@fasolo.debian.org>
and subject line Bug#1028823: fixed in python-dicompylercore 0.5.5-5
has caused the Debian Bug report #1028823,
regarding python-dicompylercore: FTBFS: AttributeError: module 'numpy' has no 
attribute 'bool'
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.)


-- 
1028823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028823
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: python-dicompylercore
Source-Version: 0.5.5-5
Done: Andreas Tille <ti...@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated python-dicompylercore 
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: SHA256

Format: 1.8
Date: Sat, 14 Jan 2023 16:22:44 +0100
Source: python-dicompylercore
Architecture: source
Version: 0.5.5-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 1028823
Changes:
 python-dicompylercore (0.5.5-5) unstable; urgency=medium
 .
   * Adapt to numpy 1.24
     Closes: #1028823
   * Standards-Version: 4.6.2 (routine-update)
Checksums-Sha1:
 07b9651a54d187c1f43fb6f1945602cd0ef9a11e 2283 python-dicompylercore_0.5.5-5.dsc
 7bf55686f39214cbf9e6d3c914a68757e30e7550 3048 
python-dicompylercore_0.5.5-5.debian.tar.xz
 391db8a3928d8f37a5a6851a8e6c0abef5c5aac3 9770 
python-dicompylercore_0.5.5-5_amd64.buildinfo
Checksums-Sha256:
 f5b8f11512cee1e4741ce0c53a6a737de01aae2513dd4109e5f183362bff61d7 2283 
python-dicompylercore_0.5.5-5.dsc
 8c18a24c477bd6325c52c954b5c142feab63cb43bc72a80e397271bb4572caf4 3048 
python-dicompylercore_0.5.5-5.debian.tar.xz
 3966cc4653403d95855d22523f75eee210ff50930dc34b8d88b824b4e70ffa1f 9770 
python-dicompylercore_0.5.5-5_amd64.buildinfo
Files:
 e8cdc3fe1cac2e80a112a949d84dbde7 2283 python optional 
python-dicompylercore_0.5.5-5.dsc
 00ee5ac7faf64eb2b8be23cbb6502269 3048 python optional 
python-dicompylercore_0.5.5-5.debian.tar.xz
 e16f79f7d88afe5b182044b44748d6ed 9770 python optional 
python-dicompylercore_0.5.5-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmPCyT8RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEK9Q/+LLHWUESfJ7WZ/je6dZGbhdNNkqbZBWzb
MY5us4OL20xyOqa/XdWNHxsIBqdBekqQzgNm4J5DGAh2cCTp8n8CrFNVndtig9mH
7Vou2w15QMq+YulBy9xy/hWStR0uFpHwmRAjN1QjicNpTBsqdU+PDIo0Tjl1+Q40
ASYSg+x8rjnAabVCeFXkNbgfhpI58k1fGPjRibdPujMj8TQuHi4B7q3XUztUAANf
O7UqdJzfydrtcaxKtNYeJ4KOduiC+DpdScwbcQ9edG5K1gNz9jlWYeQqdgjtdKaQ
4SW28lwO9L3Hv7JnTsn/2UKYYGBlUD677wvTW1d16nA0cAq+MGTaRLc69hdLWC2y
UyzRdbcoP46SCUsXvPktVBfzUHDyWkQ2cp7WJW+oHi4SlSA6gdyeTx0EC6Eawd4f
+EFtdQgO2hWA5LXgkc9ajJRuO1sfCQXD6Pj5noYNhkQ3ZIlj4dcMtEgpbi2YT2r3
ranwRdXD43C8Xu57mLrWT7rJwRbJ4w3u27zUAHHcvYRkekKjjqO/eJ82Sd4rUAWj
5+vtt+yZ4xJ8ByPYIpDHLCmdaQTiZ5gBTrgFXAaGu8bJg6S9yKY4qoFTK3zghOOY
OFKEKRlxQJgJjm3AnbmmQsj36pHW4WL3IPwrZWlHemP2wLscJ/nfo2nnqeUF0eQe
S3AulS+wzKM=
=RHVf
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to