OpenImaging / miqa-phase1

A web application for medical imaging quality assurance
MIT License
20 stars 8 forks source link

Upgrade docker deployment python version #57

Closed scottwittenburg closed 3 years ago

scottwittenburg commented 3 years ago

The base image for our Dockerfile is node:10.15.3-stretch where the python3 in that image is python3.5, which reached end of life September 2020. Even the latest node image still has python 3.5, so we need to install newer python in the image. We are starting to get errors and warnings when building the docker stack about this old python, such as the following:

/usr/local/lib/python3.5/dist-packages/OpenSSL/crypto.py:14: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.
  from cryptography import utils, x509
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
scottwittenburg commented 3 years ago

Fixed in #91