[PKG-Openstack-devel] Bug#900904: closed by Thomas Goirand <zigo at debian.org> (Re: Bug#900904: magnum: Updates from Ubuntu (python2, autopkgtests))

Corey Bryant corey.bryant at canonical.com
Wed Jun 6 18:16:36 BST 2018


Fair enough. We'll be dual stack in Ubuntu until we can drop all py2 at
once. That will likely be when upstream claims full supported for py3 -
https://wiki.openstack.org/wiki/Python3.

Thanks,
Corey

On Wed, Jun 6, 2018 at 12:54 PM, Debian Bug Tracking System <
owner at bugs.debian.org> wrote:

> This is an automatic notification regarding your Bug report
> which was filed against the magnum package:
>
> #900904: magnum: Updates from Ubuntu (python2, autopkgtests)
>
> It has been closed by Thomas Goirand <zigo at debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Thomas Goirand <
> zigo at debian.org> by
> replying to this email.
>
>
> --
> 900904: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900904
> Debian Bug Tracking System
> Contact owner at bugs.debian.org with problems
>
>
> ---------- Forwarded message ----------
> From: Thomas Goirand <zigo at debian.org>
> To: 900904-done at bugs.debian.org
> Cc:
> Bcc:
> Date: Wed, 6 Jun 2018 18:52:10 +0200
> Subject: Re: Bug#900904: magnum: Updates from Ubuntu (python2,
> autopkgtests)
> On 06/06/2018 04:38 PM, Corey Bryant wrote:
> > Package: magnum
> > Version: 6.0.1-2
> > Severity: normal
> > Tags: patch
> > User: ubuntu-devel at lists.ubuntu.com
> > Usertags: origin-ubuntu cosmic ubuntu-patch
> >
> > Dear Maintainer,
> >
> > In Ubuntu, the attached patch was applied to achieve the following:
> >
> >   * Merge from Debian unstable.  Remaining changes:
> >     - d/control, d/rules: Add Python 2.7 support and python-magnum
> package.
> >     - d/control: Support Python 2.7 first and Python 3.x as alternative.
> >       magnum-common depends on python-magnum by default and
> python3-magnum
> >       as alternative. magnum-api does the same for
> python-openstackclient.
> >     - d/control: Drop ${python3:Depends} from magnum-* binary packages
> >       as it's covered in python3-magnum.
> >     - d/control: move python(3)-openstackclient dependency from
> magnum-api
> >       Depends to python(3)-magnum Depends.
> >     - d/control: Enable autopkgtest-pkg-python testsuite.
> >     - d/rules: Add Python 2.7 support.
> >     - d/rules: Install to package build directories rather than
> debian/tmp.
> >     - d/rules: Use pkgos-dh_auto_install instead of python setup.py
> install.
> >       This helps name binaries for update-alternatives.
> >     - d/python(3)-magnum.post*, d/python(3)-magnum.prerm:
> update-alternatives
> >       is used to enable correct shebangs for Python binaries.
> >     - d/python3-magnum.install: Dropped. Not needed.
> >     - d/tests/*: Add autopkgtests for magnum daemons and shebangs.
> >     - d/watch: Get tarball from tarballs.openstack.org.
> >
> > Thanks for considering the patch.
>
> Hi Corey,
>
> Thanks for your patch.
>
> Once we've re-added python 2 support, then we would remove it? Is that
> the plan? I'm sorry, but I don't feel like moving to a dual-stack Python
> support is the way to go. Already, Debian packages are passing all
> functional tests using puppet-openstack (well, one single functional
> test fails, and I'm currently working on it). So I don't see the need to
> add extra complexity for no return.
>
> The current Debian plan is to completely remove Python 2 support when
> Buster is released (including in clients, and all...). Hopefully,
> there's going to be more visibility on the Ubuntu side of things by that
> time. Anyway, please let me know what's going on. :)
>
> Cheers,
>
> Thomas Goirand (zigo)
>
> ---------- Forwarded message ----------
> From: Corey Bryant <corey.bryant at canonical.com>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> Cc:
> Bcc:
> Date: Wed, 06 Jun 2018 10:38:28 -0400
> Subject: magnum: Updates from Ubuntu (python2, autopkgtests)
> Package: magnum
> Version: 6.0.1-2
> Severity: normal
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu cosmic ubuntu-patch
>
> Dear Maintainer,
>
> In Ubuntu, the attached patch was applied to achieve the following:
>
>   * Merge from Debian unstable.  Remaining changes:
>     - d/control, d/rules: Add Python 2.7 support and python-magnum package.
>     - d/control: Support Python 2.7 first and Python 3.x as alternative.
>       magnum-common depends on python-magnum by default and python3-magnum
>       as alternative. magnum-api does the same for python-openstackclient.
>     - d/control: Drop ${python3:Depends} from magnum-* binary packages
>       as it's covered in python3-magnum.
>     - d/control: move python(3)-openstackclient dependency from magnum-api
>       Depends to python(3)-magnum Depends.
>     - d/control: Enable autopkgtest-pkg-python testsuite.
>     - d/rules: Add Python 2.7 support.
>     - d/rules: Install to package build directories rather than debian/tmp.
>     - d/rules: Use pkgos-dh_auto_install instead of python setup.py
> install.
>       This helps name binaries for update-alternatives.
>     - d/python(3)-magnum.post*, d/python(3)-magnum.prerm:
> update-alternatives
>       is used to enable correct shebangs for Python binaries.
>     - d/python3-magnum.install: Dropped. Not needed.
>     - d/tests/*: Add autopkgtests for magnum daemons and shebangs.
>     - d/watch: Get tarball from tarballs.openstack.org.
>
> Thanks for considering the patch.
>
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers cosmic
>   APT policy: (500, 'cosmic'), (500, 'bionic-security')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 4.15.0-22-generic (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/openstack-devel/attachments/20180606/c6f2cf78/attachment.html>


More information about the Openstack-devel mailing list