Is your feature request related to a problem? Please describe.
New utility functions in hydrolib-core may want to use additional 3rd party Python packages such as pandas and geopandas.
These functions can now not be placed in hydrolib-core, because we want to keep our required dependencies set as small as possible.
Describe the solution you'd like
Poetry and pip support optional dependencies. Try this out in our poetry setup and pip-installable package.
More info on: https://python-poetry.org/docs/pyproject/#extras
check license compatibility
extend pyproject.toml and other files if necessary
experiment locally in a poetry developer shell (poetry install --extras "geopandas" / poetry shell)
build a test pip package and publish it on the TEST environment of pypi
test that pypi package in a clean environment (pip install hydrolib-core[geopandas])
Is your feature request related to a problem? Please describe. New utility functions in hydrolib-core may want to use additional 3rd party Python packages such as pandas and geopandas. These functions can now not be placed in hydrolib-core, because we want to keep our required dependencies set as small as possible.
Describe the solution you'd like Poetry and pip support optional dependencies. Try this out in our poetry setup and pip-installable package. More info on: https://python-poetry.org/docs/pyproject/#extras
poetry install --extras "geopandas"
/poetry shell
)pip install hydrolib-core[geopandas]
)