GeoPandas v1.0.0-alpha1 has been released (https://geopandas.org/en/latest/docs/changelog.html#version-1-0-0-alpha1-apr-13-2024). The biggest change is that the default I/O engine is changed from Fiona to pyogrio.
So, when geopandas v1.0.0 is released, PyGMT will fail to work, because:
- Fiona is no longer a required dependency of geopandas, so it's not installed by default
- The pyogrio engine doesn't support
scheme parameter so some codes will break.
I think we should start the migration now following the instructions.
- Add
pyogrio as a optional dependency since geopandas 0.x doesn't install it by default
- Add
engine="pyogrio" to use the pyogrio
- Cleanup the codes and avoid using fiona
Thoughts @GenericMappingTools/pygmt-maintainers especially @weiji14?