Closed veenstrajelmer closed 9 months ago
By moving from pkg_resources to importlib, python 3.8 support was accidentally removed: https://github.com/Deltares/xugrid/commit/86e9013c0c658b4e01c36fb161d312357683d8ec
importlib.resources.files is only available from python 3.9: https://docs.python.org/3/library/importlib.resources.html#importlib.resources.files
importlib.resources.files
This is fine, but the minimal python version in the pyproject.toml has to be updated. Also, it might be wise to add testbanks for multiple python versions.
By moving from pkg_resources to importlib, python 3.8 support was accidentally removed: https://github.com/Deltares/xugrid/commit/86e9013c0c658b4e01c36fb161d312357683d8ec
importlib.resources.files
is only available from python 3.9: https://docs.python.org/3/library/importlib.resources.html#importlib.resources.filesThis is fine, but the minimal python version in the pyproject.toml has to be updated. Also, it might be wise to add testbanks for multiple python versions.