[openstack-dev] Debian OpenStack packages switching to Py3 for Queens

Haïkel hguemar at fedoraproject.org
Thu Feb 15 18:38:15 UTC 2018


2018-02-15 11:25 GMT+01:00 Bob Ball <bob.ball at citrix.com>:
> Hi Thomas,
>
> As noted on the patch, XenServer only has python 2 (and some versions of XenServer even has Python 2.4) in domain0.  This is code that will not run in Debian (only in XenServer's dom0) and therefore can be ignored or removed from the Debian package.
> It's not practical to convert these to support python 3.
>
> Bob
>

We're not there yet but we also plan to work on migrating RDO to Python 3.
And I have to disagree, this code is called by other projects and their tests,
so it will likely be an impediment in migrating OpenStack to Python 3, not just
a "packaging" issue.

If this code is meant to run on Dom0, fine, then we won't package it,
but we also
have to decouple that dependency from Nova, Neutron, Ceilometer etc... to either
communicate directly through an API endpoint or a light wrapper around it.

Regards,
H.

> -----Original Message-----
> From: Thomas Goirand [mailto:zigo at debian.org]
> Sent: 15 February 2018 08:31
> To: openstack-dev at lists.openstack.org
> Subject: [openstack-dev] Debian OpenStack packages switching to Py3 for Queens
>
> Hi,
>
> Since I'm getting some pressure from other DDs to actively remove Py2 support from my packages, I'm very much considering switching all of the Debian packages for Queens to using exclusively Py3. I would have like to read some opinions about this. Is it a good time for such move? I hope it is, because I'd like to maintain as few Python package with Py2 support at the time of Debian Buster freeze.
>
> Also, doing Queens, I've noticed that os-xenapi is still full of py2 only stuff in os_xenapi/dom0. Can we get those fixes? Here's my patch:
>
> https://review.openstack.org/544809
>
> Cheers,
>
> Thomas Goirand (zigo)
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list