[openstack-dev] [kuryr] Python 3 usage and kuryr-kubernetes

Victor Stinner vstinner at redhat.com
Thu Sep 1 08:57:11 UTC 2016


Hi,

Le 30/08/2016 à 16:39, Antoni Segura Puimedon a écrit :
> a) Work with the OpenStack distributions to ensure python3.5 support is
> reached soon for Kuryr and its dependencies (some listed below):
>
>   * babel
>   * oslo.concurrency
>   * oslo.config
>   * oslo.log
>   * oslo.utils
>   * pbr
>   * pyroute2
>   * python-neutronclient
>   * python-keystoneclient

I don't know pyroute2, but except of this one, other listed dependencies 
work on Python 3. Except pyroute2 and babel, all other dependencies have 
a voting CI running tests on Python 3. According to their PyPI page, 
babel and pyroute2 work on Python 3.

In term of packaging, Debian already provides OpenStack packages for 
Python 3. Just one example:

    https://packages.debian.org/sid/python3-neutronclient

> This also implies that distros should adopt a policy about having
> OpenStack services running in Python2, some in Python3, as I think the
> best is to have each project move at its own speed (within reason).

"each project move at its own speed" -> exactly!

Moreover, there is no need to take any decision about Python 2 only or 
Python 3 only. The plan is to support Python 2 *and* Python 3 in the 
near future.

    https://wiki.openstack.org/wiki/Python3

I don't care of the long term plan for Python 2 at this point, since 
Python 3 is not fully supported yet ;-)

Victor



More information about the OpenStack-dev mailing list