From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28634A00C5; Thu, 7 May 2020 13:25:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 301211DA82; Thu, 7 May 2020 13:25:26 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 7A1501DA6E for ; Thu, 7 May 2020 13:25:24 +0200 (CEST) IronPort-SDR: EPt/fAkBVfNZMgZG2HNLP0PGMWVegrQ7dBvjmtOCfMwRI7D5wscHUgpBDW8mED8P9DrMwEebF5 aMHpe3mwC7cg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 04:25:22 -0700 IronPort-SDR: 30d2Be6ubi9wXAldARqgNnkKyz03af1M8Iu8R+pE9Bs1s//b52xZUS+igbA3/npB7LkLgc9ZNx WrlUZWJr8QHg== X-IronPort-AV: E=Sophos;i="5.73,363,1583222400"; d="scan'208";a="435258304" Received: from bricha3-mobl.ger.corp.intel.com ([10.249.35.221]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 07 May 2020 04:25:21 -0700 Date: Thu, 7 May 2020 12:25:18 +0100 From: Bruce Richardson To: Luca Boccassi Cc: Christian Ehrhardt , dev Message-ID: <20200507112518.GA1457@bricha3-MOBL.ger.corp.intel.com> References: <20200507072629.2374881-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] [PATCH] autotest: fix for pure python3 environments X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > --- > > app/test/autotest_runner.py | 16 +++++++--------- > > 1 file changed, 7 insertions(+), 9 deletions(-) > > Acked-by: Luca Boccassi > > 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