[all] OpenStack versions that can't practically be run with Python 3 ?

Neil Jerram neil at tigera.io
Tue Jun 2 11:34:42 UTC 2020


Does anyone know the most recent OpenStack version that _can't_ easily be
run with Python 3?  I think the full answer to this may have to consider
distro packaging, as well as the underlying code support.

For example, I was just looking at switching an existing Queens setup, on
Ubuntu Bionic, and it can't practically be done because all of the scripts
- e.g. /usr/bin/nova-compute - have a hashbang line that says "python2".

So IIUC Queens is a no for Python 3, at least in the Ubuntu packaging.

Do you know if this is equally true for later versions than Queens?  Or
alternatively, if something systematic was done to address this problem in
later releases?  E.g. is there a global USE_PYTHON3 switch somewhere, or
was the packaging for later releases changed to hardcode "python3" instead
of "python2"?  If so, when did that happen?

Many thanks for any information around this!

Best wishes,
     Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200602/64333dcf/attachment.html>


More information about the openstack-discuss mailing list