[V5,0/3] framework: check the python version
Message ID | 20201023092549.33439-1-yufengx.mo@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dts-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F395A04DE; Fri, 23 Oct 2020 11:30:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 98CB2A90A; Fri, 23 Oct 2020 11:30:31 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id A99B0A909 for <dts@dpdk.org>; Fri, 23 Oct 2020 11:30:28 +0200 (CEST) IronPort-SDR: MNAU2k6N4+UGJF500ygLNSXsS5oJxzTgDRIXdRPidkfIyYM4x1BFmO5BCeiddZ7QZglqQrsT3r uwxPPIKB+mUQ== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="146942772" X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="146942772" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 02:30:21 -0700 IronPort-SDR: LPX2LdPJ0/J8VVJdx1KlNGqUP4EywhBBkJ9YRVKUBSGOCQ9X0hnA7S/Dn/0HRXm3MWpHprkbDw yzupP3aFw//g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="523445817" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga006.fm.intel.com with ESMTP; 23 Oct 2020 02:30:19 -0700 From: yufengmx <yufengx.mo@intel.com> To: dts@dpdk.org, lijuan.tu@intel.com, lihongx.ma@intel.com Cc: yufengmx <yufengx.mo@intel.com> Date: Fri, 23 Oct 2020 17:25:46 +0800 Message-Id: <20201023092549.33439-1-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V5 0/3] framework: check the python version X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions <dts.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dts>, <mailto:dts-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dts/> List-Post: <mailto:dts@dpdk.org> List-Help: <mailto:dts-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dts>, <mailto:dts-request@dpdk.org?subject=subscribe> Errors-To: dts-bounces@dpdk.org Sender: "dts" <dts-bounces@dpdk.org> |
Message
Yufen.Mo
Oct. 23, 2020, 9:25 a.m. UTC
v5: - fix comment error. - v4: - optimize judgment condition. - v3: - update check condition as required - DTS only support Python3 now, it doesn't support Python2. But it requires Python minus version. E.g. Python3.4 is not supported, it requires version larger than 3.6x. v2: - add python version check at the beginning of run_all and tester crb init stage. v1: - implement a method to check the python version of tester and the server that run dts. - If the version is lower than 3.6.9, print a warning message. yufengmx (3): framework: check the python version framework: check the python version framework: check the python version framework/dts.py | 6 +++++- framework/tester.py | 5 ++++- framework/utils.py | 28 ++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-)