Skip to content

Commit a5f0502

Browse files
committed
bump min versions to pandas 2.0
1 parent 1ad0723 commit a5f0502

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

ci/envs/310-minimal.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ dependencies:
77
- numpy=1.23
88
# - dask=2025.1.0 # TODO: update this once released
99
# - distributed=2025.1.0
10-
- geopandas=0.12
11-
- pandas=1.5.3
10+
- geopandas=0.14.3
11+
- pandas=2.0.0
1212
- shapely=2.0
1313
- pyproj=3.4
1414
- packaging

dask_geopandas/backends.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from geopandas.array import GeometryArray, GeometryDtype, from_shapely
1717
from shapely.geometry.base import BaseGeometry
1818

19-
from .core import GeoDataFrame, GeoSeries
19+
from .expr import GeoDataFrame, GeoSeries
2020

2121
get_parallel_type.register(geopandas.GeoDataFrame, lambda _: GeoDataFrame)
2222
get_parallel_type.register(geopandas.GeoSeries, lambda _: GeoSeries)

dask_geopandas/tests/test_core.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,3 +1032,8 @@ def get_chunk(n):
10321032

10331033
expected = geopandas.GeoDataFrame({"col": [1, 1], "geometry": [Point(1, 1)] * 2})
10341034
assert_geodataframe_equal(ddf.compute(), expected)
1035+
1036+
1037+
def test_core_deprecated():
1038+
with pytest.warns(FutureWarning, match="dask_geopandas.core"):
1039+
import dask_geopandas.core # noqa: F401

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
]
3333
requires-python = ">=3.10"
3434
dependencies = [
35-
"geopandas>=0.12",
35+
"geopandas>=0.14.3",
3636
"shapely>=2.0",
3737
# "dask[dataframe]>=2025.1.0",
3838
"dask @ git+https://github.com/dask/dask", # TODO: wait for release.

0 commit comments

Comments
 (0)