Latest Python Version for Stackstorm and packs in official Docker images

I am using st2-docker setup for stackstorm installation and the setup contains python 2.7.6

$ st2 --version
st2 3.1.0, on Python 2.7.6

I need to install ansible pack on stackstorm image and trigger playbooks using stackstorm. Which is causing deprecation warnings and errors due to unsupported python version.

So is there any way I can upgrade python 2.7.6 to latest (2.7.17) also 3.4 to 3.7