From 82cc0d7297045739babf35aa8803bf47fdeb39c9 Mon Sep 17 00:00:00 2001 From: mattijn Date: Thu, 23 May 2024 00:27:14 +0200 Subject: [PATCH] use fiona engine for the test geopandas check --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f86e24d0f..150430325 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: python -c "from vega_datasets import data; import geopandas as gpd; print(len(gpd.read_file(data.earthquakes.url, driver='GeoJSON')))" - name: Test GeoPandas run: | - python -c "import geopandas as gpd; print(len(gpd.read_file('https://cdn.jsdelivr.net/npm/vega-datasets@v1.29.0/data/earthquakes.json', driver='GeoJSON')))" + python -c "import geopandas as gpd; gpd.options.io_engine = "fiona"; print(len(gpd.read_file('https://cdn.jsdelivr.net/npm/vega-datasets@v1.29.0/data/earthquakes.json', driver='GeoJSON')))" - name: Test Get content-length run: | python -c "import urllib.request; url='https://cdn.jsdelivr.net/npm/vega-datasets@v1.29.0/data/earthquakes.json'; print(urllib.request.urlopen(urllib.request.Request(url, method='HEAD')).headers['Content-Length'])"