I and other people around me met the python2 build failures (crash without 
clear error message) repeatedly. If we already decided not to support python2, 
we'd better enforce not to auto set the PYTHON_COMMAND as python2 any longer 
and give a notice message in the build command against python2 usage.


Thanks
Steven Shi



> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> gaoliming
> Sent: Friday, October 8, 2021 10:25 AM
> To: 'Cole Robinson' <crobi...@redhat.com>; devel@edk2.groups.io;
> sunny.w...@arm.com; Feng, Bob C <bob.c.f...@intel.com>; Chen,
> Christine <yuwei.c...@intel.com>
> Cc: 'Sami Mujawar' <sami.muja...@arm.com>; 'Samer El-Haj-Mahmoud'
> <samer.el-haj-mahm...@arm.com>; 'Gerd Hoffmann'
> <kra...@redhat.com>
> Subject: 回复: 回复: [edk2-devel] Python2.7 is not working with the EDK2
> build system
> 
> Cole:
>   Here is the error message
> https://edk2.groups.io/g/devel/message/80068?p=,,,20,0,0,0::recentpostdat
> e%252Fsticky,,python,20,2,0,85296733
> 
>   Yes, Python27 has been end of life. But, Edk2 has not announced to drop
> Python27 support. So, if someone meets with python27 issue, we need to
> response them.
> 
>   Now, I think we can give the proposal to drop Python27 support in Edk2
> project.
> 
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: Cole Robinson <crobi...@redhat.com>
> > 发送时间: 2021年10月6日 0:48
> > 收件人: gaoliming <gaolim...@byosoft.com.cn>; devel@edk2.groups.io;
> > sunny.w...@arm.com; 'Feng, Bob C' <bob.c.f...@intel.com>; 'Chen,
> > Christine' <yuwei.c...@intel.com>
> > 抄送: 'Sami Mujawar' <sami.muja...@arm.com>; 'Samer El-Haj-
> Mahmoud'
> > <samer.el-haj-mahm...@arm.com>; 'Gerd Hoffmann'
> <kra...@redhat.com>
> > 主题: Re: 回复: [edk2-devel] Python2.7 is not working with the EDK2 build
> > system
> >
> > On 9/6/21 9:18 PM, gaoliming wrote:
> > > Bob:
> > >
> > >  Yes. Python3 is the formal support. We recommend user to use Python3.
> > > But, if user meets the issue in Python2, user can still report the issue
> > > in BaseTools. Its priority may be low. For this case, it is the
> > > regression issue caused by the recent change. The patch owner is also
> > > identified. So, I suggest the patch owner to follow up and enhance his
> > > patch.
> > >
> >
> > Sorry for the delayed response, I was on paternity leave since August.
> >
> > I haven't seen the actual error in this thread. Is there a clear python
> > error being thrown? Maybe the fix is simple but I can't
> >
> > But as mentioned elsewhere, python2 has been End of Life since Jan 1
> > 2020, over 1.5 years ago. It's going to become increasingly difficult to
> > keep code working on python2 and latest python3.
> >
> > - Cole
> 
> 
> 
> 
> 
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82072): https://edk2.groups.io/g/devel/message/82072
Mute This Topic: https://groups.io/mt/86329771/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to