[Debian-med-packaging] Bug#1025605: python-dicompylercore: FTBFS with Shapely 2.0

Bas Couwenberg sebastic at xs4all.nl
Tue Dec 6 15:28:13 GMT 2022


Source: python-dicompylercore
Version: 0.5.5-4
Severity: important
Tags: upstream ftbfs
User: debian-gis at lists.debian.org
Usertags: shapely-2.0
Control: forwarded -1 https://github.com/dicompyler/dicompyler-core/issues/336

Dear Maintainer,

Your package FTBFS with python3-shapely from experimental:

 ======================================================================
 ERROR: test_structure_volume_holes (tests.test_dicomparser.TestRTStructureSet)
 Test if a structure volume with holes can be calculated.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/build/python-dicompylercore-0.5.5/tests/test_dicomparser.py", line 219, in test_structure_volume_holes
     self.dp.CalculateStructureVolume(coords, 3), volume)
   File "/build/python-dicompylercore-0.5.5/dicompylercore/dicomparser.py", line 628, in CalculateStructureVolume
     ordered_polygons = sorted(polygons, key=Within, reverse=True)
 TypeError: '<' not supported between instances of 'Polygon' and 'Polygon'
 
 ----------------------------------------------------------------------
 Ran 56 tests in 5.526s
 
 FAILED (errors=1)
 Test failed: <unittest.runner.TextTestResult run=56 errors=1 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 %

Kind Regards,

Bas



More information about the Debian-med-packaging mailing list