Thursday, March 7, 2019

Re: migrating from 2.7 to 3.x on Ubuntu

Seems doable. I would leave nginx out of it and just run gunicorn Python 3 with Apache. Also I would do the release upgrade before.

On March 4, 2019 10:40:21 PM CST, Mike Dewhirst <miked@dewhirst.com.au> wrote:
On the same host, is it viable to switch my Django projects away from 
vhosts under Apache2/mod_wsgi/py2.7 to Gunicorn and Nginx running with
Python 3.x ...

AND SIMULTANEOUSLY

... leave Trac running on Apache2 mod_wsgi/py2.7?

Trac is not yet released for Python 3.x. There is also a Subversion
server running via Apache2 so it looks like I need to keep Apache2
anyway.  I also have Buildbot running under Python 2.7 on that machine
but it runs on Twisted so I expect that will be a regular migration.

As a bonus question,  if this is even possible, would you
do-release-upgrade Ubuntu 16.04 to 18.04 before or after such a migration.

Thanks for any sympathy as well as advice.

No comments:

Post a Comment