geopython / GeoHealthCheck

Service Status and QoS Checker for OGC Web Services
https://geohealthcheck.org
MIT License
83 stars 71 forks source link

Upgrade Docker image to newer version of Python #438

Closed owenlamont closed 1 year ago

owenlamont commented 1 year ago

Is your feature request related to a problem? Please describe. The current Docker image is based on Alpine Python 3.7 - and support for Python 3.7 ends on 27 June 2023.

Describe the solution you'd like I'd like the Docker image to be updated to be based on Python 3.10 or even Python 3.11 if the dependencies allow and the code base updated to be compatible with the selected version of Python.

Describe alternatives you've considered You can ignore the Python support date but you expose your users to security risks to force them to use an unsupported Python - and I think it is likely to discourage potential contributors if they have to use an old/unsupported Python.

justb4 commented 1 year ago

Thanks for heads up! Python 3.10/11 also has improved performance. Main issues are dependencies, both Python and native. For most projects moving away from Alpine to slim Debian/Ubuntu Docker images.

See two strategies to upgrade Dockerfile:

PRs are highly appreciated. Other challenges: there are many outdated Python packages, mainly related to Flask, these will require code changes when upgrading.

.