[Pkg-dpdk-devel] Bug#883153: dpdk: Please port to Python3

Luca Boccassi bluca at debian.org
Fri Jan 5 17:22:33 UTC 2018


Control: tags -1 pending

On Tue, 02 Jan 2018 18:29:53 +0100 Luca Boccassi <bluca at debian.org>
wrote:
> On Thu, 30 Nov 2017 09:30:16 +0100 Matthias Klose <doko at debian.org>
> wrote:
> > Package: src:dpdk
> > Version: 16.11.2-4
> > User: debian-python at lists.debian.org
> > Usertags: py2-removal
>> > dpdk: Please port to Python3. Looks like the package doesn't have
any
> > dependencies on other Python modules.
> 
> 3 things left to do:
> 
> - convert 2 examples from python2 to python3 (dpdk-doc package):
>   - dpdk/examples/ip_pipeline/config/pipeline-to-core-mapping.py
>   - dpdk/examples/ip_pipeline/config/diagram-generator.py
> - convert 3 scripts in the dpdk package from python2 to python3 (dpdk
> package):
>   - dpdk/usertools/dpdk-devbind.py
>   - dpdk/usertools/cpu_layout.py
>   - dpdk/usertools/cpu_layout.py
> - convert from python-pyelftools to python3-pyelftools - part of the
> above item
> 
> -- 
> Kind regards,
> Luca Boccassi

Hi,

I've given it a spin and it looks like all involved scripts work with
both python and python3.
I won't be changing the shebang (#!/usr/bin/env python) as I assume
once python2 is gone python will map to python3 in the PATH.

I've left an alternative Recommends: python-pyelftools | python3-
pyelftools given that at the moment the shebang will still call
python2. Once the python-pyelftools package is gone from the archive
though it should just keep working.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dpdk-devel/attachments/20180105/a3d415d1/attachment.sig>


More information about the Pkg-dpdk-devel mailing list