From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 CA5D72119BAC5 for ; Wed, 26 Dec 2018 13:16:33 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 69B3512F8E2; Wed, 26 Dec 2018 21:16:32 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-121-136.rdu2.redhat.com [10.10.121.136]) by smtp.corp.redhat.com (Postfix) with ESMTP id E818917AD4; Wed, 26 Dec 2018 21:16:30 +0000 (UTC) To: "Gao, Liming" , "edk2-devel@lists.01.org" Cc: "leif.lindholm@linaro.org" , "afish@apple.com" , "Kinney, Michael D" References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39130F@SHSMSX104.ccr.corp.intel.com> From: Laszlo Ersek Message-ID: <13e879af-4b9f-50d4-c945-6b94a88ef829@redhat.com> Date: Wed, 26 Dec 2018 22:16:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E39130F@SHSMSX104.ccr.corp.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 26 Dec 2018 21:16:32 +0000 (UTC) Subject: Re: [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: Wed, 26 Dec 2018 21:16:34 -0000 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit On 12/25/18 08:50, Gao, Liming wrote: > Hi, all > On Python3 migration > https://bugzilla.tianocore.org/show_bug.cgi?id=55, we update Edk2 > BaseTools python source code with the compatible syntax to support > Python2 and Python3 both. Here is code > https://github.com/lgao4/edk2/tree/Python3 for dry run. To enable > Python3, you just need to set PYTHON3_ENABLE environment as TRUE, then > type edksetup.bat/edksetup.sh. Hopefully I can test this sometime after I return from my PTO. No promises as to when, for now. > Without this setting, BaseTools still run with Python2. So, there is > no change for current 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. Sounds good to me. I expect that I'll keep building upstream OVMF and ArmVirtQemu on my RHEL7 laptop for a good while, using Python 2. Thanks! Laszlo