Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
156 stars 42 forks source link

geopandas: optional dependency #599

Closed soxofaan closed 4 months ago

soxofaan commented 4 months ago

4b8593c3b61d3716073701dd07b4d9666b602beb (accidentally) introduced hard dependency on geopandas, which has been optional dependency so far.

problem did not show in tests, because it is a test dependency, but it partially broke doc build with some warnings

WARNING: Cannot resolve forward reference in type annotations of "openeo.udf.xarraydatacube.XarrayDataCube.plot": name 'matplotlib' is not defined
WARNING: autodoc: failed to import class 'job_management.MultiBackendJobManager' from module 'openeo.extra'; the following exception was raised:
No module named 'geopandas'
WARNING: autodoc: failed to import class 'job_management.JobDatabaseInterface' from module 'openeo.extra'; the following exception was raised:
looking for now-outdated files... none found
No module named 'geopandas'
WARNING: autodoc: failed to import class 'job_management.CsvJobDatabase' from module 'openeo.extra'; the following exception was raised:
No module named 'geopandas'
WARNING: autodoc: failed to import class 'job_management.ParquetJobDatabase' from module 'openeo.extra'; the following exception was raised:
No module named 'geopandas'