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 908B4A052A; Fri, 10 Jul 2020 12:11:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 88F411DA19; Fri, 10 Jul 2020 12:11:09 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B68321D9D9 for ; Fri, 10 Jul 2020 12:11:06 +0200 (CEST) IronPort-SDR: jhg3pUyeX7R3BKDmFBtBQ3pT4QONT3yvbxJKbIybm9O+gzfIlb3esTBpTYmsUg2v3GJUMr3Plr 0Aw332e808Cw== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="136380952" X-IronPort-AV: E=Sophos;i="5.75,335,1589266800"; d="scan'208";a="136380952" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2020 03:11:06 -0700 IronPort-SDR: hIq8twGp6/t/SLDbYr1pVpGVqupiP2kEUxX9NH+4TVqbhNIOiilR+R25okr/4VfixqsGlDJNhM I4tt36wJS51w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,335,1589266800"; d="scan'208";a="298384597" Received: from silpixa00389033.ir.intel.com (HELO silpixa00389033.ger.corp.intel.com) ([10.237.223.171]) by orsmga002.jf.intel.com with ESMTP; 10 Jul 2020 03:11:04 -0700 From: Louise Kilheeney To: dev@dpdk.org Cc: david.marchand@redhat.com, bruce.richardson@intel.com, Louise Kilheeney , Neil Horman , Ray Kinsella Date: Fri, 10 Jul 2020 11:10:50 +0100 Message-Id: <20200710101055.33671-5-louise.kilheeney@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200710101055.33671-1-louise.kilheeney@intel.com> References: <20200710101055.33671-1-louise.kilheeney@intel.com> Subject: [dpdk-dev] [PATCH 4/9] devtools/update_version_map: add python2 deprecation notice 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" Cc: Neil Horman Cc: Ray Kinsella Signed-off-by: Louise Kilheeney --- devtools/update_version_map_abi.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devtools/update_version_map_abi.py b/devtools/update_version_map_abi.py index e2104e61e..80a61641e 100755 --- a/devtools/update_version_map_abi.py +++ b/devtools/update_version_map_abi.py @@ -160,6 +160,10 @@ def __generate_internal_abi(f_out, lines): print("};", file=f_out) def __main(): + if sys.version_info.major < 3: + print("WARNING: Python 2 is deprecated for use in DPDK, and will not work in future releases.", file=sys.stderr) + print("Please use Python 3 instead", file=sys.stderr) + arg_parser = argparse.ArgumentParser( description='Merge versions in linker version script.') -- 2.17.1