opencve / opencve-docker

Docker Image packaging for OpenCVE
https://www.opencve.io
Other
41 stars 38 forks source link

Upgrade python version from 3.7 to 3.8 #27

Closed mferon closed 2 years ago

mferon commented 2 years ago

Following a celery issue (celery/celery#7783) caused by importlib-metadata only for python 3.7, it's a good opportunity to upgrade to python 3.8.

$ docker exec webserver python3 --version
Python 3.8.14

$ curl -I http://127.0.0.1:8000/cve
HTTP/1.1 200 OK
Server: gunicorn/20.0.4
Date: Fri, 07 Oct 2022 20:44:52 GMT
Connection: close
Content-Type: text/html; charset=utf-8
Content-Length: 9845

This PR fixes opencve/opencve#231