From 45ff5a4feb5a32177ab03c7f3b62dcc825526cb3 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 26 Jun 2024 19:31:01 +0800 Subject: [PATCH 1/5] Force to use the pyogrio engine --- examples/gallery/lines/roads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/gallery/lines/roads.py b/examples/gallery/lines/roads.py index 7c1e75ef943..edab17c389f 100644 --- a/examples/gallery/lines/roads.py +++ b/examples/gallery/lines/roads.py @@ -17,7 +17,8 @@ # Read shapefile data using geopandas gdf = gpd.read_file( - "http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip" + "http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip", + engine="pyogrio" ) # The dataset contains different road types listed in the RTTYP column, # here we select the following ones to plot: From fec9e9cffede04d808fefec32ba56914fc7e1310 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 26 Jun 2024 19:31:34 +0800 Subject: [PATCH 2/5] Pin pyogrio=0.9 and geopandas=0.14 --- .github/workflows/ci_docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 47ebaa5f2bb..f829debe0db 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -101,7 +101,8 @@ jobs: netCDF4 packaging contextily - geopandas + geopandas=0.14 + pyogrio=0.9 ipython rioxarray build From a018e4ff57c6f6a6cfac33d57bee19fc44f4b5bb Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 26 Jun 2024 19:37:19 +0800 Subject: [PATCH 3/5] Pin geopandas=1.0 --- .github/workflows/ci_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index f829debe0db..792cc45e5f6 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -101,7 +101,7 @@ jobs: netCDF4 packaging contextily - geopandas=0.14 + geopandas=1.0 pyogrio=0.9 ipython rioxarray From ec88421d019c843f92b604f6026696e510675d5f Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 27 Jun 2024 00:32:23 +0800 Subject: [PATCH 4/5] Revert "Force to use the pyogrio engine" This reverts commit 45ff5a4feb5a32177ab03c7f3b62dcc825526cb3. --- examples/gallery/lines/roads.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/gallery/lines/roads.py b/examples/gallery/lines/roads.py index edab17c389f..7c1e75ef943 100644 --- a/examples/gallery/lines/roads.py +++ b/examples/gallery/lines/roads.py @@ -17,8 +17,7 @@ # Read shapefile data using geopandas gdf = gpd.read_file( - "http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip", - engine="pyogrio" + "http://www2.census.gov/geo/tiger/TIGER2015/PRISECROADS/tl_2015_15_prisecroads.zip" ) # The dataset contains different road types listed in the RTTYP column, # here we select the following ones to plot: From 3e84465d1d5125730d09bdf8fccd7bc61f4c206e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 27 Jun 2024 00:33:10 +0800 Subject: [PATCH 5/5] Remove pyogrio and temporarily pin geopandas<1.0 --- .github/workflows/ci_docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 792cc45e5f6..74951d365f2 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -101,8 +101,7 @@ jobs: netCDF4 packaging contextily - geopandas=1.0 - pyogrio=0.9 + geopandas<1.0 ipython rioxarray build