diff --git a/dev-environment.yml b/dev-environment.yml index d791b0e8..3a0e8b08 100644 --- a/dev-environment.yml +++ b/dev-environment.yml @@ -7,6 +7,7 @@ dependencies: - matplotlib - pyproj - rasterio>=1.3 + - numpy=1.24 - scipy - tqdm - xarray diff --git a/doc/source/conf.py b/doc/source/conf.py index 88e42146..894f5c8a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -48,6 +48,8 @@ # For myst-nb to find the Jupyter kernel (=environment) to run from nb_kernel_rgx_aliases = {".*geoutils.*": "python3"} +# To raise a Sphinx build error on notebook failure +nb_execution_raise_on_error = True intersphinx_mapping = { "python": ("https://docs.python.org/", None), diff --git a/environment.yml b/environment.yml index 16f69be8..a177656f 100644 --- a/environment.yml +++ b/environment.yml @@ -7,6 +7,7 @@ dependencies: - matplotlib - pyproj - rasterio>=1.3 + - numpy=1.24 - scipy - tqdm - xarray diff --git a/geoutils/vector.py b/geoutils/vector.py index 31082385..274ee5c6 100644 --- a/geoutils/vector.py +++ b/geoutils/vector.py @@ -590,10 +590,18 @@ def dissolve( sort: bool = True, observed: bool = False, dropna: bool = True, + **kwargs: Any, ) -> Vector: return self._override_gdf_output( self.ds.dissolve( - by=by, aggfunc=aggfunc, as_index=as_index, level=level, sort=sort, observed=observed, dropna=dropna + by=by, + aggfunc=aggfunc, + as_index=as_index, + level=level, + sort=sort, + observed=observed, + dropna=dropna, + **kwargs, ) ) diff --git a/tests/test_vector.py b/tests/test_vector.py index 0349f9ca..e1c5d323 100644 --- a/tests/test_vector.py +++ b/tests/test_vector.py @@ -660,6 +660,12 @@ class TestGeoPandasMethods: "merge", "apply", "astype", + "minimum_bounding_circle", + "minimum_bounding_radius", + "get_coordinates", + "hilbert_distance", + "sample_points", + "copy", ] # Exceptions for IO/conversion that can be done directly from .ds all_exceptions = exceptions_unimplemented