Your message dated Wed, 30 Oct 2024 23:54:14 +0000
with message-id <e1t6ivy-00cqht...@fasolo.debian.org>
and subject line Bug#1086375: fixed in python-momepy 0.8.1-1
has caused the Debian Bug report #1086375,
regarding python-momepy: FTBFS: E AttributeError: 'SpatialIndex' object has no 
attribute 'query_bulk'
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.)


-- 
1086375: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086375
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-momepy
Version: 0.7.0-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=pybuild --with python3,sphinxdoc
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy
* Building wheel...
running bdist_wheel
running build
running build_py

[... snipped ...]

dtype: geometry]
enclosure_id = 'eID', clip = False

    def enclosures(
        primary_barriers,
        limit=None,
        additional_barriers=None,
        enclosure_id="eID",
        clip=False,
    ):
        """
        Generate enclosures based on passed barriers. Enclosures are areas 
enclosed from
        all sides by at least one type of a barrier. Barriers are typically 
roads,
        railways, natural features like rivers and other water bodies or 
coastline.
        Enclosures are a result of polygonization of the  ``primary_barrier`` 
and ``limit``
        and its subdivision based on additional_barriers.
Parameters
        ----------
        primary_barriers : GeoDataFrame, GeoSeries
            A GeoDataFrame or GeoSeries containing primary barriers.
            (Multi)LineString geometry is expected.
        limit : GeoDataFrame, GeoSeries, shapely geometry (default None)
            A GeoDataFrame, GeoSeries or shapely geometry containing external 
limit
            of enclosures, i.e. the area which gets partitioned. If ``None`` is 
passed,
            the internal area of ``primary_barriers`` will be used.
        additional_barriers : GeoDataFrame
            A GeoDataFrame or GeoSeries containing additional barriers.
            (Multi)LineString geometry is expected.
        enclosure_id : str (default 'eID')
            The name of the ``enclosure_id`` (to be created).
        clip : bool (default False)
            If ``True``, returns enclosures with representative point within 
the limit
            (if given). Requires ``limit`` composed of Polygon or MultiPolygon 
geometries.
Returns
        -------
        enclosures : GeoDataFrame
           A GeoDataFrame containing enclosure geometries and ``enclosure_id``.
Examples
        --------
        >>> enclosures = mm.enclosures(streets, admin_boundary, [railway, 
rivers])
        """
        if limit is not None:
            if isinstance(limit, BaseGeometry):
                limit = gpd.GeoSeries([limit])
            if limit.geom_type.isin(["Polygon", "MultiPolygon"]).any():
                limit_b = limit.boundary
            else:
                limit_b = limit
            barriers = pd.concat([primary_barriers.geometry, limit_b.geometry])
        else:
            barriers = primary_barriers
        unioned = barriers.unary_union
        polygons = polygonize(unioned)
        enclosures = gpd.GeoSeries(list(polygons), crs=primary_barriers.crs)
if additional_barriers is not None:
            if not isinstance(additional_barriers, list):
                raise TypeError(
                    "`additional_barriers` expects a list of GeoDataFrames "
                    f"or GeoSeries. Got {type(additional_barriers)}."
                )
            additional = pd.concat([gdf.geometry for gdf in 
additional_barriers])
          inp, res = enclosures.sindex.query_bulk(
                additional.geometry, predicate="intersects"
            )
E           AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/elements.py:1001: AttributeError
_____________________ TestElements.test_get_network_ratio ______________________

self = <momepy.tests.test_elements.TestElements object at 0x7f5879b9ee40>

    def test_get_network_ratio(self):
        convex_hull = self.df_streets.unary_union.convex_hull
        enclosures = mm.enclosures(self.df_streets, 
limit=gpd.GeoSeries([convex_hull]))
      enclosed_tess = mm.Tessellation(
            self.df_buildings, unique_id="uID", enclosures=enclosures
        ).tessellation

momepy/tests/test_elements.py:218:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/elements.py:232: in __init__
    self.tessellation = self._enclosed_tessellation(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <momepy.elements.Tessellation object at 0x7f5874888500>
buildings =      uID                                           geometry
0      1  POLYGON ((257.627 248.18, 261.389 244.9, 255.5......678 -34.283, 
-143.88 -32.409, -...
143  144  POLYGON ((156.281 -54.537, 153.665 -65.228, 16...

[144 rows x 2 columns]
enclosures =     eID                                           geometry  
position
0     0  POLYGON ((244.046 307.139, 71.612 107.09...(21.963 -89.751, 34.431 
-92.701, 203....        15
16   16  POLYGON ((308.856 246.965, 323.227 233.462, 33...        16
unique_id = 'uID', threshold = 0.05, use_dask = True, n_chunks = None
kwargs = {}

    def _enclosed_tessellation(
        self,
        buildings,
        enclosures,
        unique_id,
        threshold=0.05,
        use_dask=True,
        n_chunks=None,
        **kwargs,
    ):
        """
        Generate enclosed tessellation based on barriers
        defining enclosures and building footprints.
Parameters
        ----------
        buildings : GeoDataFrame
            A GeoDataFrame containing building footprints.
            Expects (Multi)Polygon geometry.
        enclosures : GeoDataFrame
            Enclosures geometry. Can  be generated using 
:func:`momepy.enclosures`.
        unique_id : str
            The name of the column with the unique ID of ``buildings`` gdf.
        threshold : float (default 0.05)
            The minimum threshold for a building to be considered within an 
enclosure.
            Threshold is a ratio of building area which needs to be within an 
enclosure
            to inlude it in the tessellation of that enclosure.
            Resolves sliver geometry issues.
        use_dask : bool (default True)
            Use parallelised algorithm based on ``dask.dataframe``. Requires 
dask.
        n_chunks : None
            The number of chunks to be used in parallelization. Ideal is one 
chunk per
            thread. Applies only if ``enclosures`` are passed. Default 
automatically
            uses ``n == dask.system.cpu_count``.
        **kwargs : dict
            Keyword arguments passed to Tessellation algorithm
            (such as ``'shrink'`` or ``'segment'``).
Returns
        -------
        tessellation : GeoDataFrame
            A GeoDataFrame containing three columns:
- ``geometry``,
                - ``unique_id`` matching with parent building,
                - ``enclosure_id`` matching with enclosure integer index
Examples
        --------
        >>> enclosures = mm.enclosures(streets, admin_boundary, [railway, 
rivers])
        >>> enclosed_tess = mm.enclosed_tessellation(buildings, enclosures)
        """
        enclosures = enclosures.reset_index(drop=True)
        enclosures["position"] = range(len(enclosures))
# determine which polygons should be split
      inp, res = buildings.sindex.query_bulk(
            enclosures.geometry, predicate="intersects"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/elements.py:451: AttributeError
___________ TestPreprocessing.test_roundabout_simplification_default ___________

self = <momepy.tests.test_preprocess.TestPreprocessing object at 0x7f5879bed8e0>

    def test_roundabout_simplification_default(self):
      check = mm.roundabout_simplification(self.df_streets_rabs)

momepy/tests/test_preprocess.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/preprocessing.py:1028: in roundabout_simplification
    incoming_all, idx_drop = _selecting_incoming_lines(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rab_multipolygons =                                                       
geometry                      center_pt
index_right             ...T (599418.751 659579.739)
12           GEOMETRYCOLLECTION (POLYGON ((603738.911 64467...  POINT 
(603746.613 644699.524)
edges =                                              geometry
0   LINESTRING (599879.298 645412.868, 599869.276 ...
1   LINEST...ING (603642.445 644752.951, 603681.131 ...
87  LINESTRING (603790.11 644674.653, 603794.733 6...

[88 rows x 1 columns]
angle_threshold = 0

    def _selecting_incoming_lines(rab_multipolygons, edges, angle_threshold=0):
        """Selecting only the lines that are touching but not covered by
        the ``rab_plus``.
        If more than one LineString is incoming to ``rab_plus``, COINS algorithm
        is used to select the line to be extended further.
        """
        # selecting the lines that are touching but not covered by
        touching = gpd.sjoin(edges, rab_multipolygons, predicate="touches")
      edges_idx, rabs_idx = rab_multipolygons.sindex.query_bulk(
            edges.geometry, predicate="covered_by"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/preprocessing.py:854: AttributeError
____ TestPreprocessing.test_roundabout_simplification_high_circom_threshold ____

self = <momepy.tests.test_preprocess.TestPreprocessing object at 0x7f5879bed040>

    def test_roundabout_simplification_high_circom_threshold(self):
      check = mm.roundabout_simplification(
            self.df_streets_rabs, self.df_rab_polys, circom_threshold=0.97
        )

momepy/tests/test_preprocess.py:140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/preprocessing.py:1028: in roundabout_simplification
    incoming_all, idx_drop = _selecting_incoming_lines(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rab_multipolygons =                                                       
geometry                      center_pt
index_right             ...T (599606.069 645326.918)
8            GEOMETRYCOLLECTION (POLYGON ((599446.636 65952...  POINT 
(599418.751 659579.739)
edges =                                              geometry
0   LINESTRING (599879.298 645412.868, 599869.276 ...
1   LINEST...ING (603642.445 644752.951, 603681.131 ...
87  LINESTRING (603790.11 644674.653, 603794.733 6...

[88 rows x 1 columns]
angle_threshold = 0

    def _selecting_incoming_lines(rab_multipolygons, edges, angle_threshold=0):
        """Selecting only the lines that are touching but not covered by
        the ``rab_plus``.
        If more than one LineString is incoming to ``rab_plus``, COINS algorithm
        is used to select the line to be extended further.
        """
        # selecting the lines that are touching but not covered by
        touching = gpd.sjoin(edges, rab_multipolygons, predicate="touches")
      edges_idx, rabs_idx = rab_multipolygons.sindex.query_bulk(
            edges.geometry, predicate="covered_by"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/preprocessing.py:854: AttributeError
_____ TestPreprocessing.test_roundabout_simplification_low_area_threshold ______

self = <momepy.tests.test_preprocess.TestPreprocessing object at 0x7f5879bedc10>

    def test_roundabout_simplification_low_area_threshold(self):
      check = mm.roundabout_simplification(
            self.df_streets_rabs, self.df_rab_polys, area_threshold=0.8
        )

momepy/tests/test_preprocess.py:147:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/preprocessing.py:1028: in roundabout_simplification
    incoming_all, idx_drop = _selecting_incoming_lines(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rab_multipolygons =                                                       
geometry                      center_pt
index_right             ...T (599418.751 659579.739)
12           GEOMETRYCOLLECTION (POLYGON ((603738.911 64467...  POINT 
(603746.613 644699.524)
edges =                                              geometry
0   LINESTRING (599879.298 645412.868, 599869.276 ...
1   LINEST...ING (603642.445 644752.951, 603681.131 ...
87  LINESTRING (603790.11 644674.653, 603794.733 6...

[88 rows x 1 columns]
angle_threshold = 0

    def _selecting_incoming_lines(rab_multipolygons, edges, angle_threshold=0):
        """Selecting only the lines that are touching but not covered by
        the ``rab_plus``.
        If more than one LineString is incoming to ``rab_plus``, COINS algorithm
        is used to select the line to be extended further.
        """
        # selecting the lines that are touching but not covered by
        touching = gpd.sjoin(edges, rab_multipolygons, predicate="touches")
      edges_idx, rabs_idx = rab_multipolygons.sindex.query_bulk(
            edges.geometry, predicate="covered_by"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/preprocessing.py:854: AttributeError
______ TestPreprocessing.test_roundabout_simplification_exclude_adjacent _______

self = <momepy.tests.test_preprocess.TestPreprocessing object at 0x7f5879bedf70>

    def test_roundabout_simplification_exclude_adjacent(self):
      check = mm.roundabout_simplification(
            self.df_streets_rabs, self.df_rab_polys, include_adjacent=False
        )

momepy/tests/test_preprocess.py:154:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/preprocessing.py:1028: in roundabout_simplification
    incoming_all, idx_drop = _selecting_incoming_lines(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rab_multipolygons =                                                       
geometry                      center_pt
index_right             ...T (599418.751 659579.739)
12           MULTIPOLYGON (((603763.387 644717.407, 603768....  POINT 
(603746.613 644699.524)
edges =                                              geometry
0   LINESTRING (599879.298 645412.868, 599869.276 ...
1   LINEST...ING (603642.445 644752.951, 603681.131 ...
87  LINESTRING (603790.11 644674.653, 603794.733 6...

[88 rows x 1 columns]
angle_threshold = 0

    def _selecting_incoming_lines(rab_multipolygons, edges, angle_threshold=0):
        """Selecting only the lines that are touching but not covered by
        the ``rab_plus``.
        If more than one LineString is incoming to ``rab_plus``, COINS algorithm
        is used to select the line to be extended further.
        """
        # selecting the lines that are touching but not covered by
        touching = gpd.sjoin(edges, rab_multipolygons, predicate="touches")
      edges_idx, rabs_idx = rab_multipolygons.sindex.query_bulk(
            edges.geometry, predicate="covered_by"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/preprocessing.py:854: AttributeError
______ TestPreprocessing.test_roundabout_simplification_center_type_mean _______

self = <momepy.tests.test_preprocess.TestPreprocessing object at 0x7f5879bee150>

    def test_roundabout_simplification_center_type_mean(self):
      check = mm.roundabout_simplification(
            self.df_streets_rabs, self.df_rab_polys, center_type="mean"
        )

momepy/tests/test_preprocess.py:161:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
momepy/preprocessing.py:1028: in roundabout_simplification
    incoming_all, idx_drop = _selecting_incoming_lines(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

rab_multipolygons =                                                       
geometry                      center_pt
index_right             ...T (599418.756 659576.885)
12           GEOMETRYCOLLECTION (POLYGON ((603738.911 64467...  POINT 
(603746.494 644701.237)
edges =                                              geometry
0   LINESTRING (599879.298 645412.868, 599869.276 ...
1   LINEST...ING (603642.445 644752.951, 603681.131 ...
87  LINESTRING (603790.11 644674.653, 603794.733 6...

[88 rows x 1 columns]
angle_threshold = 0

    def _selecting_incoming_lines(rab_multipolygons, edges, angle_threshold=0):
        """Selecting only the lines that are touching but not covered by
        the ``rab_plus``.
        If more than one LineString is incoming to ``rab_plus``, COINS algorithm
        is used to select the line to be extended further.
        """
        # selecting the lines that are touching but not covered by
        touching = gpd.sjoin(edges, rab_multipolygons, predicate="touches")
      edges_idx, rabs_idx = rab_multipolygons.sindex.query_bulk(
            edges.geometry, predicate="covered_by"
        )
E       AttributeError: 'SpatialIndex' object has no attribute 'query_bulk'

momepy/preprocessing.py:854: AttributeError
=============================== warnings summary ===============================
momepy/tests/test_dimension.py::TestDimensions::test_PerimeterWall
momepy/tests/test_intensity.py::TestIntensity::test_Reached
momepy/tests/test_weights.py::TestWeights::test_sw_high
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/weights.py:124: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    first_order = libpysal.weights.Queen.from_dataframe(

momepy/tests/test_dimension.py::TestDimensions::test_PerimeterWall
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/dimension.py:890: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    spatial_weights = Queen.from_dataframe(gdf, silence_warnings=True)

momepy/tests/test_dimension.py: 56 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/dimension.py:908: 
DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method 
instead.
    dissolved = joined.buffer(0.01).unary_union

momepy/tests/test_dimension.py::TestDimensions::test_SegmentsLength
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/dimension.py:969: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    spatial_weights = Queen.from_dataframe(gdf, silence_warnings=True)

momepy/tests/test_diversity.py: 2 warnings
momepy/tests/test_elements.py: 20 warnings
  /usr/lib/python3/dist-packages/geopandas/array.py:1638: UserWarning: CRS not 
set for some of the concatenation inputs. Setting output's CRS as WGS 84 / 
Pseudo-Mercator (the single non-null crs provided).
    return GeometryArray(data, crs=_get_common_crs(to_concat))

momepy/tests/test_elements.py: 16 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/elements.py:52: 
DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method 
instead.
    return gdf.buffer(buffer).unary_union

momepy/tests/test_elements.py: 21 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/elements.py:989: 
DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method 
instead.
    unioned = barriers.unary_union

momepy/tests/test_elements.py::TestElements::test_erroroneous_geom
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_elements.py:86:
 UserWarning: Tessellation contains MultiPolygon elements. Initial objects should  be 
edited. `unique_id` of affected elements: [146, 1, 147].
    mm.Tessellation(df, "uID", self.limit)

momepy/tests/test_elements.py::TestElements::test_erroroneous_geom
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_elements.py:91:
 UserWarning: Tessellation does not fully match buildings. 1 element(s) collapsed during 
generation - unique_id: {145}.
    tess = mm.Tessellation(df, "uID", self.limit)

momepy/tests/test_elements.py: 3 warnings
momepy/tests/test_intensity.py: 7 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/elements.py:619: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    weights = libpysal.weights.Queen.from_dataframe(cut, silence_warnings=True)

momepy/tests/test_elements.py::TestElements::test_get_node_id_ratio
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_elements.py:164:
 DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' 
method instead.
    convex_hull = edges.unary_union.convex_hull

momepy/tests/test_elements.py::TestElements::test_get_network_ratio
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_elements.py:216:
 DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' 
method instead.
    convex_hull = self.df_streets.unary_union.convex_hull

momepy/tests/test_graph.py: 16 warnings
momepy/tests/test_utils.py: 7 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/utils.py:99: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    sw = libpysal.weights.Queen.from_dataframe(gdf_network, 
silence_warnings=True)

momepy/tests/test_intensity.py::TestIntensity::test_Courtyards
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/intensity.py:250: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    spatial_weights = Queen.from_dataframe(gdf, silence_warnings=True)

momepy/tests/test_intensity.py: 56 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/intensity.py:267: 
DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method 
instead.
    dissolved = joined.geometry.buffer(0.01).unary_union

momepy/tests/test_intensity.py::TestIntensity::test_Courtyards
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_intensity.py:110:
 FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    sw = Queen.from_dataframe(self.df_buildings, silence_warnings=True)

momepy/tests/test_preprocess.py::TestPreprocessing::test_preprocess
momepy/tests/test_preprocess.py::TestPreprocessing::test_preprocess
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/preprocessing.py:84:
 FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    sw = libpysal.weights.contiguity.Rook.from_dataframe(blg, 
silence_warnings=True)

momepy/tests/test_preprocess.py::TestPreprocessing::test_remove_false_nodes
momepy/tests/test_preprocess.py::TestPreprocessing::test_remove_false_nodes
momepy/tests/test_preprocess.py::TestPreprocessing::test_remove_false_nodes
  /usr/lib/python3/dist-packages/geopandas/array.py:1638: UserWarning: CRS not 
set for some of the concatenation inputs. Setting output's CRS as S-JTSK 
(Ferro) / Krovak East North (the single non-null crs provided).
    return GeometryArray(data, crs=_get_common_crs(to_concat))

momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_default
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_high_circom_threshold
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_center_type_mean
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/preprocessing.py:758:
 FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error 
in a future version of pandas. Value '65.76687172246541' has dtype incompatible with int64, 
please explicitly cast to a compatible dtype first.
    rab_adj.loc[g.Index, "hdist"] = hdist

momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_low_area_threshold
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/preprocessing.py:758:
 FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error 
in a future version of pandas. Value '38.03088320697853' has dtype incompatible with int64, 
please explicitly cast to a compatible dtype first.
    rab_adj.loc[g.Index, "hdist"] = hdist

momepy/tests/test_weights.py::TestWeights::test_sw_high
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/tests/test_weights.py:16:
 FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    first_order = libpysal.weights.Queen.from_dataframe(self.df_tessellation)

momepy/tests/test_weights.py::TestWeights::test_sw_high
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build/momepy/weights.py:128: 
FutureWarning: `use_index` defaults to False but will default to True in future. Set 
True/False directly to control this behavior and silence this warning
    first_order = libpysal.weights.Rook.from_dataframe(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED momepy/tests/test_distribution.py::TestDistribution::test_SharedWalls
FAILED 
momepy/tests/test_distribution.py::TestDistribution::test_SharedWallsRatio
FAILED 
momepy/tests/test_distribution.py::TestDistribution::test_NeighboringStreetOrientationDeviation
FAILED momepy/tests/test_elements.py::TestElements::test_enclosed_tess - Attr...
FAILED momepy/tests/test_elements.py::TestElements::test_custom_enclosure_id
FAILED momepy/tests/test_elements.py::TestElements::test_Blocks_inner - Attri...
FAILED momepy/tests/test_elements.py::TestElements::test_get_node_id_ratio - ...
FAILED momepy/tests/test_elements.py::TestElements::test_enclosures - Attribu...
FAILED momepy/tests/test_elements.py::TestElements::test_get_network_ratio - ...
FAILED 
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_default
FAILED 
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_high_circom_threshold
FAILED 
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_low_area_threshold
FAILED 
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_exclude_adjacent
FAILED 
momepy/tests/test_preprocess.py::TestPreprocessing::test_roundabout_simplification_center_type_mean
==== 14 failed, 88 passed, 2 skipped, 3 deselected, 226 warnings in 10.76s =====
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_monepy/build; python3.12 -m pytest 
momepy/tests -v -k 'not test_Theil and not test_Gini and not test_Alignment'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:12: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-momepy
Source-Version: 0.8.1-1
Done: Thomas Goirand <z...@debian.org>

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

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-momepy 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: Wed, 30 Oct 2024 13:45:57 +0100
Source: python-momepy
Architecture: source
Version: 0.8.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1086375
Changes:
 python-momepy (0.8.1-1) unstable; urgency=medium
 .
   * New upstream release.
     - Fixes FTBFS (Closes: #1086375).
   * Removed doc patches.
   * Recreate remove-rediraffe-from-sphinx-doc.patch.
   * Switch the doc to rtd theme.
   * Re-add a new fix-privacy-breach-in-docs.patch.
Checksums-Sha1:
 2d065e742d1b5b776ce310d9e6ae11aaac570328 2664 python-momepy_0.8.1-1.dsc
 773a581e354f18adc624a44c1dfafb92c683c3ed 27145484 
python-momepy_0.8.1.orig.tar.xz
 aa68ebf8df648fe4c02c39d5e079bc71cef61ab1 4920 
python-momepy_0.8.1-1.debian.tar.xz
 4343b7d656aaec4d6215deed9496caa6e17c72be 16719 
python-momepy_0.8.1-1_amd64.buildinfo
Checksums-Sha256:
 6a76763428642c2a640589caf761fc304dc42842e8085eda193e3d7c38dddf09 2664 
python-momepy_0.8.1-1.dsc
 6d487e2c70480eb666f2554bd0e0edfe79b3d12f7c6844487277f82cea5f76dc 27145484 
python-momepy_0.8.1.orig.tar.xz
 1f07c0f4e629bcac124f9512ba59dc6ceb5db4ca58bcf79373e97d35516273b5 4920 
python-momepy_0.8.1-1.debian.tar.xz
 0b45bee6b8d6b8b5d862063a6e27aba78f9659516e5d851fce96d72ed33d9e47 16719 
python-momepy_0.8.1-1_amd64.buildinfo
Files:
 abc7dc41e9385d71b1cc0c6e9e878260 2664 python optional python-momepy_0.8.1-1.dsc
 b191d9dbd69b701f1b6bed8babd9915d 27145484 python optional 
python-momepy_0.8.1.orig.tar.xz
 2883405e5ddcae4440b0fa935e354f44 4920 python optional 
python-momepy_0.8.1-1.debian.tar.xz
 cdb18304a4cbbf307983278475264028 16719 python optional 
python-momepy_0.8.1-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmciQtYACgkQ1BatFaxr
Q/4IFhAAjxenpk4mnd8aoDu1OX2L245JvDJGwLqu1UFULl7WofiIcP3cZUXUoJlk
wrbSKV4h2PgQXZpXcdHfc5S0VnImfkwIaCbNnJ52aZV5fRk9nF6ePk2KO4kkBiPY
/FqYtGeCTWhLTXToQXCFpE90PT3rG9VGnOOaPuXChPMxaQoFSXtmb3MM63N5UyG8
2683rULcZ2u7mqjEhqEX5M9VKBmgvCiXdvRUAuRQxzvKpPSTPUBYSS0fwBVLx1pe
lfdJ3gC5v4OyhH764PHtnSvwhjiYJRSta1gfHVQ9QFwR0Ga9L4N2aewGlEkz+/U1
HjlKQgEZZeLPgnQ57F2K4xRgHi6ANh+rwEdqP4r+kPW8UNHS0x+C8G8OI5XIyYGM
MD6kh833RioN4tRmQKNIX3fjKVFdgtZ0nEcR0EzaLvAdO+5vvfbb1CFxljXrBMz/
xN/zwg3vh6mvAJDID++xZ0V2WthBzZNG1pkudT07aC2aOmWQvnq5ABPsSGbfBNW5
123xk0KmTOsUO8rhTqMdvMIq/EVbSf4d9Cb3fPFVqxReyLPKAo91FbqFYK8vhC66
QzWGKMPK1pBbO9GsuI+dtZXUnIqxxziCFR6fyIcm60CVx5VEHBi+E4zbLuPUZqgG
gMYvDAGkA7sHo1rdP0OWzC8HLarh/ePSFDznM5hOB/ZlnNv3LUQ=
=vbcE
-----END PGP SIGNATURE-----

Attachment: pgpOrOHvJtAT7.pgp
Description: PGP signature


--- End Message ---

Reply via email to