I have a Plone 4 site running on Ubuntu 14.04, with Python 2.7.6. The server was setup with our ansible playbook, so it's a pretty standard buildout with virtualenv, but the Python it uses is the default one that comes with Ubuntu 14.04.
If I wanted to upgrade to a more recent version of Python (for TLS 1.2 reasons), is there any way to do it "in place"?
My naive approach would be to install (or build) the newer Python, then start from scratch with a new virtualenv, buildout, etc. Once everything was working I would then delete the old installation. But if there is a quicker way, I'd love to know.
You should be able to just edit the shebangs of the generated scripts to point to the new Python as the scripts themselves manage the site packages for you.