Skip to content

Commit 3377a6d

Browse files
TST/DEV: remove geopandas downstream test + remove from environment.yml (#50008)
* removed geopandas from environment, see noatamir/pyladies-berlin-sprints#9 * pre-commit test added
1 parent 5241bd0 commit 3377a6d

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

environment.yml

-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ dependencies:
6464
- cftime
6565
- dask
6666
- ipython
67-
- geopandas-base
6867
- seaborn
6968
- scikit-learn
7069
- statsmodels

pandas/tests/test_downstream.py

+1-10
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919
import pandas._testing as tm
2020

21-
# geopandas, xarray, fsspec, fastparquet all produce these
21+
# xarray, fsspec, fastparquet all produce these
2222
pytestmark = pytest.mark.filterwarnings(
2323
"ignore:distutils Version classes are deprecated.*:DeprecationWarning"
2424
)
@@ -223,15 +223,6 @@ def test_pandas_datareader():
223223
pandas_datareader.DataReader("F", "quandl", "2017-01-01", "2017-02-01")
224224

225225

226-
def test_geopandas():
227-
228-
geopandas = import_module("geopandas")
229-
gdf = geopandas.GeoDataFrame(
230-
{"col": [1, 2, 3], "geometry": geopandas.points_from_xy([1, 2, 3], [1, 2, 3])}
231-
)
232-
assert gdf[["col", "geometry"]].geometry.x.equals(Series([1.0, 2.0, 3.0]))
233-
234-
235226
# Cython import warning
236227
@pytest.mark.filterwarnings("ignore:can't resolve:ImportWarning")
237228
def test_pyarrow(df):

requirements-dev.txt

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ botocore
5151
cftime
5252
dask
5353
ipython
54-
geopandas
5554
seaborn
5655
scikit-learn
5756
statsmodels

0 commit comments

Comments
 (0)