[dpdk-dev] [PATCH] autotest: fix for pure python3 environments

Bruce Richardson bruce.richardson at intel.com
Thu May 7 13:25:18 CEST 2020


On Thu, May 07, 2020 at 10:36:35AM +0100, Luca Boccassi wrote:
> On Thu, 2020-05-07 at 09:26 +0200, Christian Ehrhardt wrote:
> > Without this fix in a pure python3 environment this will run into
> > issues like:
> >   ModuleNotFoundError: No module named 'StringIO'
> > or later string encoding issues on check_output.
> > 
> > Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> > ---
> >  app/test/autotest_runner.py | 16 +++++++---------
> >  1 file changed, 7 insertions(+), 9 deletions(-)
> 
> Acked-by: Luca Boccassi <bluca at debian.org>
> 
> Note that this makes the file python3-only (as far as I can see) - I
> think it's fine at this point, given python2 is EOL?
> 
I think for 20.11 we should aim to have all python in DPDK python3 only.

/Bruce


More information about the dev mailing list