Comment 10 for bug 1746992

Revision history for this message
Corey Bryant (corey.bryant) wrote : Re: gnocchi-api in Bionic uses python3, and libapache2-mod-wsgi-py3 conflicts with the python 2 version

Correct, gnocchi-api only supports py3 for now in bionic/queens and above.

Jeremy, that's true but we plan to enable py2 by default for any packages that we share with Debian in Cosmic to prevent issues like this bug. Most OpenStack packages in Ubuntu have not yet received py3 support. That is a focus for the cosmic cycle. Where possible the plan is to install py2 by default and py3 as an alternative.

That's not the case for gnocchi-api, obviously, as it only installs py3 which conflicts with other python packages if and only if you're installing on the same system as other py2 services. Most modern production deployments isolate services in one way or another (e.g. containers such as LXD or docker or VMs).

With that said, we can probably add py2 alternative packages to the Depends for gnocchi-api allowing py2 installs. But this is not a high priorty bug as there is a clear work-around. Also I seem to remember gnocchi-api was forced to move to py3 for a reason, but I'm not remembering why atm.