Bug#1015067: python-shapely: FTBFS: AttributeError: can't set attribute '_is_empty'
Control: tags -1 upstream pending On 7/16/22 15:32, Lucas Nussbaum wrote: === FAILURES === __ OperationsTestCase.test_parallel_offset_linestring __ self = 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: != 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
Bug#1015067: python-shapely: FTBFS: AttributeError: can't set attribute '_is_empty'
Source: python-shapely Version: 1.8.0-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220716 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<>' > dh_auto_test > I: pybuild base:239: cd /<>/.pybuild/cpython3_3.9_shapely/build; > python3.9 -m pytest tests > = test session starts > == > platform linux -- Python 3.9.13, pytest-7.1.2, pluggy-1.0.0 > numpy: 1.21.5 > rootdir: /<>, configfile: setup.cfg > collected 481 items > > tests/test_affinity.py ..[ > 2%] > tests/test_binascii_hex.txt .[ > 3%] > tests/test_box.py ...[ > 3%] > tests/test_buffer.py [ > 5%] > tests/test_cga.py [ > 6%] > tests/test_clip_by_rect.py ...xx [ > 8%] > tests/test_collection.py [ > 11%] > tests/test_coords.py ... [ > 12%] > tests/test_create_inconsistent_dimensionality.py ... [ > 14%] > tests/test_default_impl.py ..[ > 14%] > tests/test_delaunay.py ... [ > 15%] > tests/test_delegated.py .. [ > 15%] > tests/test_dlls.py ..[ > 16%] > tests/test_doctests.py . [ > 16%] > tests/test_emptiness.py ... [ > 19%] > tests/test_empty_polygons.py [ > 20%] > tests/test_equality.py ... [ > 20%] > tests/test_geointerface.py .Exception ignored in: BaseGeometry.__del__ at 0x7fe96270> > Traceback (most recent call last): > File > "/<>/.pybuild/cpython3_3.9_shapely/build/shapely/geometry/base.py", > line 209, in __del__ > self._empty(val=None) > File > "/<>/.pybuild/cpython3_3.9_shapely/build/shapely/geometry/base.py", > line 199, in _empty > self._is_empty = True > File > "/<>/.pybuild/cpython3_3.9_shapely/build/shapely/geometry/proxy.py", > line 44, in __setattr__ > object.__setattr__(self, name, value) > AttributeError: can't set attribute > ... [ 21%] > tests/test_geometry_base.py [ > 24%] > tests/test_geomseq.py . [ > 24%] > tests/test_geos_err_handler.py ..[ > 25%] > tests/test_getitem.py ...[ > 28%] > tests/test_hash.py [ > 28%] > tests/test_invalid_geometries.py . [ > 29%] > tests/test_iterops.py [ > 29%] > tests/test_linear_referencing.py . [ > 31%] > tests/test_linemerge.py .[ > 32%] > tests/test_linestring.py .. [ > 38%] > tests/test_locale.py s [ > 38%] > tests/test_make_valid.py .. [ > 38%] > tests/test_mapping.py .. [ > 39%] > tests/test_minimum_clearance.py [ > 40%] > tests/test_minimum_rotated_rectangle.py .. [ > 40%] > tests/test_multilinestring.py .. [ > 42%] > tests/test_multipoint.py ... [ > 45%] > tests/test_multipolygon.py [ > 47%] > tests/test_ndarrays.py ..[ > 48%] > tests/test_nearest.py . [ > 48%] > tests/test_operations.py . [ > 49%] > tests/test_operators.py [ > 50%] > tests/test_orient.py [ > 52%] > tests/test_parallel_offset.py .F [ > 52%] > tests/test_persist.py [ > 53%] > tests/test_pickle.py .. [ > 54%] > tests/test_point.py ..Exception ignored in: