Re: RE: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-07-15 Thread Simon Glass
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, June 4, 2024 9:14 PM > To: Maier, Brandon L Collins > Cc: u-boot@lists.denx.de > Subject: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python > ConfigParser methods > > Hi Brandon

RE: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-06-05 Thread Maier, Brandon L Collins
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, June 4, 2024 9:14 PM > To: Maier, Brandon L Collins > Cc: u-boot@lists.denx.de > Subject: [External] Re: [PATCH 2/3] tools: binman: fix deprecated Python > ConfigParser methods > > Hi Brandon

Re: [PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-06-04 Thread Simon Glass
Hi Brandon, On Tue, 4 Jun 2024 at 10:16, Brandon Maier wrote: > > The method `ConfigParser.readfp()` is marked deprecated[1]. > > In Python 3.12 this method have been removed, so replace it with > `ConfigParser.read_file()`. > > [1] > https://docs.python.org/3.11/library/configparser.html#config

[PATCH 2/3] tools: binman: fix deprecated Python ConfigParser methods

2024-06-04 Thread Brandon Maier
The method `ConfigParser.readfp()` is marked deprecated[1]. In Python 3.12 this method have been removed, so replace it with `ConfigParser.read_file()`. [1] https://docs.python.org/3.11/library/configparser.html#configparser.ConfigParser.readfp Signed-off-by: Brandon Maier CC: Simon Glass ---