Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-09 Thread Carsey, Jaben
el@lists.01.org; > leif.lindh...@linaro.org; af...@apple.com; Kinney, Michael D > > Subject: RE: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > Importance: High > > Jaben: > I also think this way. Now, we have two envs PYTHON3_ENABLE and > PYTHON_COMMAND. The behavior ca

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-09 Thread Laszlo Ersek
ndh...@linaro.org; af...@apple.com; Kinney, >> Michael D >> Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update >> Importance: High >> >> On 01/08/19 17:22, Carsey, Jaben wrote: >>> Liming and Laszlo, >>> What if we add a 4th option t

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Gao, Liming
> de...@lists.01.org; leif.lindh...@linaro.org; af...@apple.com; Kinney, >> Michael D >> Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update >> Importance: High >> >> On 01/08/19 17:22, Carsey, Jaben wrote: >> > Liming and Laszlo, >> >

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Carsey, Jaben
t; > > > -Jaben > > > > > >> -Original Message- > >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > >> Gao, Liming > >> Sent: Tuesday, January 08, 2019 6:23 AM > >> To: Laszlo Ersek ; Ni

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Laszlo Ersek
ginal Message- >>> From: Laszlo Ersek [mailto:ler...@redhat.com] >>> Sent: Tuesday, January 8, 2019 3:04 AM >>> To: Gao, Liming ; Ni, Ray ; edk2- >> de...@lists.01.org; leif.lindh...@linaro.org; >>> af...@apple.com; Kinney, Michael D >>> Subj

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Laszlo Ersek
Message- >> From: Laszlo Ersek [mailto:ler...@redhat.com] >> Sent: Tuesday, January 8, 2019 3:04 AM >> To: Gao, Liming ; Ni, Ray ; >> edk2-devel@lists.01.org; leif.lindh...@linaro.org; af...@apple.com; >> Kinney, Michael D >> Subject: Re: [edk2] [RFC] Edk2 BaseTools Py

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Laszlo Ersek
Hi Liming, On 01/04/19 04:29, Gao, Liming wrote: > Laszlo: > This issue has been fixed in edk2 master. I just cherry pick those > fixes from edk2 master to my Python3 branch > (https://github.com/lgao4/edk2/tree/Python3). At commit 90d8b4834fd1 ("BaseTools: Reset FdsGlobalVariable",

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Carsey, Jaben
y 08, 2019 6:23 AM > To: Laszlo Ersek ; Ni, Ray ; edk2- > de...@lists.01.org; leif.lindh...@linaro.org; af...@apple.com; Kinney, > Michael D > Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > > Laszlo: > Yes. This can be supported. But, I don't know what

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-08 Thread Gao, Liming
chael D > Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > > On 01/07/19 14:41, Gao, Liming wrote: > > Ray: > > I think this proposal is good to recommend Python3 as the default > > interpreter. I summary the updated proposal. > > > > 1

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-07 Thread Laszlo Ersek
On 01/07/19 14:41, Gao, Liming wrote: > Ray: > I think this proposal is good to recommend Python3 as the default > interpreter. I summary the updated proposal. > > 1. PYTHON3_ENABLE env is not set. edksetup.bat/edksetup.sh will find higher > version python installed in OS. If Python3 is

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-07 Thread Laszlo Ersek
nch. Cheers Laszlo > > Thanks > Liming >> -Original Message- >> From: Laszlo Ersek [mailto:ler...@redhat.com] >> Sent: Monday, December 31, 2018 8:16 AM >> To: Gao, Liming ; Gary Lin >> Cc: edk2-devel@lists.01.org; Kinney, Michael D >> S

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-07 Thread Gao, Liming
t; Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > > On 12/25/2018 3:50 PM, 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 > compa

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-07 Thread Ni, Ruiyu
On 12/25/2018 3:50 PM, 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

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-03 Thread Gao, Liming
2018 8:16 AM >To: Gao, Liming ; Gary Lin >Cc: edk2-devel@lists.01.org; Kinney, Michael D >Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > >On 12/29/18 07:07, Gao, Liming wrote: >> Lin: >>Thanks for your verification. This issue has been fixed

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-02 Thread Gary Lin
lo Ersek (ler...@redhat.com) > > > >Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > > > >On Tue, Dec 25, 2018 at 07:50:43AM +, Gao, Liming wrote: > >> Hi, all > >> On Python3 migration https://bugzilla.tianocore.org/show_bug.cgi?id=55,

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2019-01-01 Thread Gao, Liming
1, 2018 8:16 AM >To: Gao, Liming ; Gary Lin >Cc: edk2-devel@lists.01.org; Kinney, Michael D >Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > >On 12/29/18 07:07, Gao, Liming wrote: >> Lin: >>Thanks for your verification. This issue has been fixed

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2018-12-30 Thread Laszlo Ersek
On 12/29/18 07:07, Gao, Liming wrote: > Lin: >Thanks for your verification. This issue has been fixed in the >latest version of https://github.com/lgao4/edk2/tree/Python3. Could >you try again? At commit 4614985ec223 ("BaseTools:The binary data type is incorrect", 2018-12-29): (1)

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2018-12-28 Thread Gao, Liming
Gao, Liming >Cc: edk2-devel@lists.01.org; Kinney, Michael D >; Laszlo Ersek (ler...@redhat.com) > >Subject: Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update > >On Tue, Dec 25, 2018 at 07:50:43AM +, Gao, Liming wrote: >> Hi, all >> On Python3 migration http

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2018-12-28 Thread Gary Lin
On Tue, Dec 25, 2018 at 07:50:43AM +, 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 >

Re: [edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2018-12-26 Thread Laszlo Ersek
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