diff --git a/requirements-tests.txt b/requirements-tests.txt index 3a44876..d32cbfe 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -6,6 +6,7 @@ pyright==1.1.350 # Runtime shapely>=2.0,<2.1 +geopandas>=0.14.3,<1.0 # Transient dependencies matplotlib>=3.8.0 diff --git a/stubs/geopandas-stubs/geodataframe.pyi b/stubs/geopandas-stubs/geodataframe.pyi index e39ee97..0be515a 100644 --- a/stubs/geopandas-stubs/geodataframe.pyi +++ b/stubs/geopandas-stubs/geodataframe.pyi @@ -193,7 +193,7 @@ class GeoDataFrame(GeoPandasBase, pd.DataFrame): # type: ignore[misc] self, column: Hashable | None = None, ignore_index: bool = False, index_parts: bool | None = None, **kwargs ) -> Self: ... def astype(self, dtype, copy: bool = True, errors: str = "raise", **kwargs) -> GeoDataFrame | pd.DataFrame: ... - def convert_dtypes( # type: ignore[override] # TODO needs fixing in pandas-stubs + def convert_dtypes( self, infer_objects: bool = True, convert_string: bool = True,