public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Steven Shi" <steven.shi@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"gaoliming@byosoft.com.cn" <gaoliming@byosoft.com.cn>,
	'Cole Robinson' <crobinso@redhat.com>,
	"Sunny.Wang@arm.com" <Sunny.Wang@arm.com>,
	"Feng, Bob C" <bob.c.feng@intel.com>,
	"Chen, Christine" <yuwei.chen@intel.com>
Cc: 'Sami Mujawar' <Sami.Mujawar@arm.com>,
	'Samer El-Haj-Mahmoud' <Samer.El-Haj-Mahmoud@arm.com>,
	'Gerd Hoffmann' <kraxel@redhat.com>
Subject: Re: 回复: [edk2-devel] Python2.7 is not working with the EDK2 build system
Date: Fri, 15 Oct 2021 01:30:05 +0000	[thread overview]
Message-ID: <DM4PR11MB5549A8B26DC7A7FFBC28C1C68CB99@DM4PR11MB5549.namprd11.prod.outlook.com> (raw)
In-Reply-To: <006701d7bbeb$accf3b90$066db2b0$@byosoft.com.cn>

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' <crobinso@redhat.com>; devel@edk2.groups.io;
> Sunny.Wang@arm.com; Feng, Bob C <bob.c.feng@intel.com>; Chen,
> Christine <yuwei.chen@intel.com>
> Cc: 'Sami Mujawar' <Sami.Mujawar@arm.com>; 'Samer El-Haj-Mahmoud'
> <Samer.El-Haj-Mahmoud@arm.com>; 'Gerd Hoffmann'
> <kraxel@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 <crobinso@redhat.com>
> > 发送时间: 2021年10月6日 0:48
> > 收件人: gaoliming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io;
> > Sunny.Wang@arm.com; 'Feng, Bob C' <bob.c.feng@intel.com>; 'Chen,
> > Christine' <yuwei.chen@intel.com>
> > 抄送: 'Sami Mujawar' <Sami.Mujawar@arm.com>; 'Samer El-Haj-
> Mahmoud'
> > <Samer.El-Haj-Mahmoud@arm.com>; 'Gerd Hoffmann'
> <kraxel@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
> 
> 
> 
> 
> 
> 
> 


      reply	other threads:[~2021-10-15  1:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 18:08 Python2.7 is not working with the EDK2 build system Sunny Wang
2021-09-06  1:09 ` 回复: [edk2-devel] " gaoliming
2021-09-06  9:30   ` Bob Feng
2021-09-06 13:15     ` Sunny Wang
2021-09-07  1:18       ` 回复: " gaoliming
2021-10-05 16:48         ` Cole
2021-10-05 17:33           ` Andrew Fish
2021-10-08  2:24           ` 回复: 回复: " gaoliming
2021-10-15  1:30             ` Steven Shi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM4PR11MB5549A8B26DC7A7FFBC28C1C68CB99@DM4PR11MB5549.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox