From 26c7ec0668a0b1067d2162604e876eef7b993e5c Mon Sep 17 00:00:00 2001 From: Stefanie Senger Date: Fri, 2 Dec 2022 13:53:15 +0100 Subject: [PATCH 1/2] removed geopandas from environment, see https://github.com/noatamir/pydata-global-sprints/issues/9 --- environment.yml | 1 - pandas/tests/test_downstream.py | 11 +---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/environment.yml b/environment.yml index 1a02b522fab06..87c5f5d031fcf 100644 --- a/environment.yml +++ b/environment.yml @@ -64,7 +64,6 @@ dependencies: - cftime - dask - ipython - - geopandas-base - seaborn - scikit-learn - statsmodels diff --git a/pandas/tests/test_downstream.py b/pandas/tests/test_downstream.py index 2f603f3700413..ab001d0b5a881 100644 --- a/pandas/tests/test_downstream.py +++ b/pandas/tests/test_downstream.py @@ -18,7 +18,7 @@ ) import pandas._testing as tm -# geopandas, xarray, fsspec, fastparquet all produce these +# xarray, fsspec, fastparquet all produce these pytestmark = pytest.mark.filterwarnings( "ignore:distutils Version classes are deprecated.*:DeprecationWarning" ) @@ -223,15 +223,6 @@ def test_pandas_datareader(): pandas_datareader.DataReader("F", "quandl", "2017-01-01", "2017-02-01") -def test_geopandas(): - - geopandas = import_module("geopandas") - gdf = geopandas.GeoDataFrame( - {"col": [1, 2, 3], "geometry": geopandas.points_from_xy([1, 2, 3], [1, 2, 3])} - ) - assert gdf[["col", "geometry"]].geometry.x.equals(Series([1.0, 2.0, 3.0])) - - # Cython import warning @pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning") def test_pyarrow(df): From 6f7018ff62d31cd160433bc440878e99c49a7374 Mon Sep 17 00:00:00 2001 From: Stefanie Senger Date: Fri, 2 Dec 2022 14:58:53 +0100 Subject: [PATCH 2/2] pre-commit test added --- requirements-dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 19ed830eca07e..debbdb635901c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -51,7 +51,6 @@ botocore cftime dask ipython -geopandas seaborn scikit-learn statsmodels