actinia-org / actinia-core

Actinia Core is an open source REST API for scalable, distributed, high performance processing of geographical data that uses mainly GRASS GIS for computational tasks (DOI: https://doi.org/10.5281/zenodo.5879231) | Tutorial: https://actinia-org.github.io/actinia-core/ | Docker: https://hub.docker.com/r/mundialis/actinia-core
https://actinia.mundialis.de/
GNU General Public License v3.0
78 stars 22 forks source link

Fix import error #527

Closed mmacata closed 4 weeks ago

mmacata commented 1 month ago

After upgrade to alpine 3.20 including update to python 3.12, the following error appeared:

AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?

This PR suggests to use a more modern approach while still allowing use of older versions.

See also https://github.com/actinia-org/actinia-api/pull/25