From patchwork Fri Oct 23 08:14:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 81905 Return-Path: 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 4053AA04DF; Fri, 23 Oct 2020 10:19:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8CAD5A8E7; Fri, 23 Oct 2020 10:19:03 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 0DBE39A89 for ; Fri, 23 Oct 2020 10:19:01 +0200 (CEST) IronPort-SDR: kAwjBA2cZBVxDJeQtfXm6/7+PRCXSlmCi2IkHWqvc4lN4/HXRw+SPHoHzCkf7aw9JfXRycU+pB ZRIuojtZaR5g== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="146936524" X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="146936524" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 01:18:49 -0700 IronPort-SDR: r49h6SrYl4ROdRQz6VfsPp9aiKZ3vwqnUP8ni47oylg4/WEyFBUgKNBFVystsg+darip3ipbqv YvKzROkw4xsA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="534310564" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by orsmga005.jf.intel.com with ESMTP; 23 Oct 2020 01:18:45 -0700 From: yufengmx To: dts@dpdk.org, lijuan.tu@intel.com, lihongx.ma@intel.com Cc: yufengmx Date: Fri, 23 Oct 2020 16:14:08 +0800 Message-Id: <20201023081411.33229-1-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [dts] [PATCH V4 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 python2, 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(-)