[openstack-dev] [all] Status of the OpenStack port to Python 3

Doug Hellmann doug at doughellmann.com
Fri Jun 24 15:43:52 UTC 2016


Excerpts from Clint Byrum's message of 2016-06-24 08:10:18 -0700:
> Excerpts from Amrith Kumar's message of 2016-06-24 10:13:37 +0000:
> > 
> > > -----Original Message-----
> > > From: Doug Hellmann [mailto:doug at doughellmann.com]
> > > Sent: Thursday, June 23, 2016 5:16 PM
> > > To: openstack-dev <openstack-dev at lists.openstack.org>
> > > Subject: Re: [openstack-dev] [all] Status of the OpenStack port to Python 3
> > > 
> > [... snip ...]
> > > 
> > > Let's see what PTLs have to say about planning, but I think if not
> > > Ocata then we'd want to set one for the P release. We're running
> > > out of supported lifetime for Python 2.7.
> > > 
> > > Doug
> > > 
> > 
> > Doug, I believe py27 will be supported till end of 2020 but distribution vendors (os people) are not yet deploying py3 as the default.
> > 
> > Could someone share the best information on when we may see Python3 be the default from the various os distribution providers. The date of 2020 for EOS leads me to believe that we're good until about the U or V release (assuming two per year) but I don't believe that's the correct way to plan for this, yes?
> > 
> 
> Fedora, Ubuntu, and Gentoo are already defaulting to python3 for all
> of their OS tools, so you can have a fully functioning system without
> python2.
> 

That's right.

Some of the distros are starting to split the version of python
they use for their operating system tools from the packages
applications use, so the "default" version of Python isn't necessarily
what we care about -- as an application, we're not supposed to use
that version.  The important thing is that it is possible to get
Python 3.4 or 3.5 packages for all of the major distros through
normal and supported mechanisms.  So, there is no longer any reason
to use distro support as a reason to put off porting.

Doug



More information about the OpenStack-dev mailing list