mbox series

[v3,0/9] dding support for python 3 only.

Message ID 20200702103712.13992-1-louise.kilheeney@intel.com (mailing list archive)
Headers
Series dding support for python 3 only. |

Message

Louise Kilheeney July 2, 2020, 10:37 a.m. UTC
  v3: fix comments on v2. 

This patch set converts all python scripts in the project to use
python3 only. This is due to python2 being EOL in January 2020.

One script not tested: ./config/arm/armv8_machine.py

Louise Kilheeney (9):
  app/test-bbdev: support python3 only
  usertools/dpdk-devbind: support python3 only
  usertools/dpdk-telemetry-client: support python3 only
  usertools/dpdk-pmdinfo: support python3 only
  usertools/cpu_layout: support python3 only
  app/test-cmdline: support python3 only
  app/test: support python3 only
  devtools: support python3 only
  config/arm: support python3 only

 app/test-bbdev/test-bbdev.py          |  7 +++----
 app/test-cmdline/cmdline_test.py      |  3 +--
 app/test-cmdline/cmdline_test_data.py |  1 +
 app/test/autotest.py                  |  3 +--
 app/test/autotest_data.py             |  1 +
 app/test/autotest_runner.py           | 19 ++++++++-----------
 app/test/autotest_test_funcs.py       |  1 +
 config/arm/armv8_machine.py           |  2 +-
 devtools/update_version_map_abi.py    |  3 +--
 mk/rte.sdktest.mk                     |  6 +++---
 usertools/cpu_layout.py               |  9 ++-------
 usertools/dpdk-devbind.py             | 17 ++++-------------
 usertools/dpdk-pmdinfo.py             |  4 +---
 usertools/dpdk-telemetry-client.py    | 16 ++++------------
 14 files changed, 32 insertions(+), 60 deletions(-)
  

Comments

David Marchand July 8, 2020, 8:59 a.m. UTC | #1
Hello Louise,


On Thu, Jul 2, 2020 at 12:37 PM Louise Kilheeney
<louise.kilheeney@intel.com> wrote:
>
> v3: fix comments on v2.
>
> This patch set converts all python scripts in the project to use
> python3 only. This is due to python2 being EOL in January 2020.

Thanks for working on this.

Looking at the deprecation notices,
https://doc.dpdk.org/guides/rel_notes/deprecation.html:
"python: Since the beginning of 2020, Python 2 has officially reached
end-of-support: https://www.python.org/doc/sunset-python-2/.
Python 2 support will be completely removed in 20.11.
In 20.08, explicit deprecation warnings will be displayed when running
scripts with Python 2."

So I understand that this series targets 20.11 but I did not see the
deprecation series for 20.08.

Can you handle this for 20.08?
Thanks.
  
Louise Kilheeney July 8, 2020, 10:13 a.m. UTC | #2
Thanks David, I will get on to that now and add warnings hopefully have it up by the end of day. 

Lousie

> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Wednesday 8 July 2020 09:59
> To: Kilheeney, Louise <louise.kilheeney@intel.com>
> Cc: dev <dev@dpdk.org>; Robin Jarry <robin.jarry@6wind.com>; Burakov,
> Anatoly <anatoly.burakov@intel.com>; Richardson, Bruce
> <bruce.richardson@intel.com>
> Subject: Re: [dpdk-dev] [PATCH v3 0/9] dding support for python 3 only.
> 
> Hello Louise,
> 
> 
> On Thu, Jul 2, 2020 at 12:37 PM Louise Kilheeney <louise.kilheeney@intel.com>
> wrote:
> >
> > v3: fix comments on v2.
> >
> > This patch set converts all python scripts in the project to use
> > python3 only. This is due to python2 being EOL in January 2020.
> 
> Thanks for working on this.
> 
> Looking at the deprecation notices,
> https://doc.dpdk.org/guides/rel_notes/deprecation.html:
> "python: Since the beginning of 2020, Python 2 has officially reached
> end-of-support: https://www.python.org/doc/sunset-python-2/.
> Python 2 support will be completely removed in 20.11.
> In 20.08, explicit deprecation warnings will be displayed when running scripts
> with Python 2."
> 
> So I understand that this series targets 20.11 but I did not see the deprecation
> series for 20.08.
> 
> Can you handle this for 20.08?
> Thanks.
> 
> 
> --
> David Marchand