From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 901652194D3AE for ; Mon, 24 Dec 2018 23:50:46 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Dec 2018 23:50:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,395,1539673200"; d="scan'208,217";a="120899088" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 24 Dec 2018 23:50:46 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 24 Dec 2018 23:50:45 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 24 Dec 2018 23:50:45 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.203]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.210]) with mapi id 14.03.0415.000; Tue, 25 Dec 2018 15:50:43 +0800 From: "Gao, Liming" To: "edk2-devel@lists.01.org" CC: "leif.lindholm@linaro.org" , "afish@apple.com" , "Laszlo Ersek (lersek@redhat.com)" , "Kinney, Michael D" Thread-Topic: [RFC] Edk2 BaseTools Python3 Migration Update Thread-Index: AdScIfEAP1TAIYqwRbmPvz2xdWmYXw== Date: Tue, 25 Dec 2018 07:50:43 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39130F@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDY2NWYyZTUtYmZkOS00ZDNhLWEzN2UtMmYxOGNlMDY1ZmRjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNUhUMTVjUDlMUzZBeTVmYmNPQnNlMzFjaXFTZUszXC9QTXZXRXY4WXNHQ2p5bDhaSTRoK1RuS1hsaWJ3V1hvbVMifQ== x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [RFC] Edk2 BaseTools Python3 Migration Update X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2018 07:50:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, all On Python3 migration https://bugzilla.tianocore.org/show_bug.cgi?id=3D55,= we update Edk2 BaseTools python source code with the compatible syntax to = support Python2 and Python3 both. Here is code https://github.com/lgao4/edk= 2/tree/Python3 for dry run. To enable Python3, you just need to set PYTHON3= _ENABLE environment as TRUE, then type edksetup.bat/edksetup.sh. Without th= is setting, BaseTools still run with Python2. So, there is no change for cu= rrent usage model with Python27. But, we have no enough resource to fully verify Python2 and Python3 both.= We will focus on Python3 validation. If anyone can help verify Python2, it= will be great. And, if you meet with the issue on Python2, please file BZ.= We still fix them. Thanks Liming