Bug#1015067: python-shapely: FTBFS: AttributeError: can't set attribute '_is_empty'

Sebastiaan Couwenberg sebastic at xs4all.nl
Sat Jul 16 16:10:40 BST 2022


Control: tags -1 upstream pending

On 7/16/22 15:32, Lucas Nussbaum wrote:
>> =================================== FAILURES ===================================
>> ______________ OperationsTestCase.test_parallel_offset_linestring ______________
>>
>> self = <tests.test_parallel_offset.OperationsTestCase testMethod=test_parallel_offset_linestring>
>>
>>      def test_parallel_offset_linestring(self):
>>          line1 = LineString([(0, 0), (10, 0)])
>>          left = line1.parallel_offset(5, 'left')
>>          self.assertEqual(left, LineString([(0, 5), (10, 5)]))
>>          right = line1.parallel_offset(5, 'right')
>>>        self.assertEqual(right, LineString([(10, -5), (0, -5)]))
>> E       AssertionError: <shapely.geometry.linestring.LineString object at 0x7fe9a2e19520> != <shapely.geometry.linestring.LineString object at 0x7fe9a2e190a0>
This is the actual reason for the FTBFS, not the AttributeError that 
occurs during the tests.

It's caused by changes in GEOS 3.11.0, and fixed upstream already.

The patch has been added to the package and a new upload will follow 
shortly.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list