Skip to content

Commit

Permalink
Fix issue with geopandas/fiona versions for python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
leosaffin committed Sep 12, 2024
1 parent 5e41554 commit 5c095bc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ dependencies = [
"parse",
"shapely",
"pandas",
"geopandas",
# Issue with newer versions of fiona when using old versions of geopandas
# see https://stackoverflow.com/a/78949565/8270394
# Normally just specify the newer geopandas, but it does not exist for python3.8
# so pin the version of fiona when using python3.8
"geopandas>=0.14.4;python_version>='3.9'",
"geopandas;python_version<'3.9'",
"fiona<=1.9.6;python_version<'3.9'",
"matplotlib",
"seaborn",
"netcdf4",
Expand Down

0 comments on commit 5c095bc

Please sign in to comment.