Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-31 Thread Chris Johns
On 1/4/21 11:03 am, Vijay Kumar Banerjee wrote: > On Wed, Mar 31, 2021 at 4:19 PM Chris Johns wrote: >> >> Do we need to support platform as well? I have lost track of which Python we >> need build doco. I suspect it is only 3. > > platform.dist is deprecated since 3.5 and removed in 3.7, so this

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-31 Thread Vijay Kumar Banerjee
On Wed, Mar 31, 2021 at 4:19 PM Chris Johns wrote: > > Do we need to support platform as well? I have lost track of which Python we > need build doco. I suspect it is only 3. platform.dist is deprecated since 3.5 and removed in 3.7, so this was certainly a piece of code that would fail with pytho

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-31 Thread Chris Johns
Do we need to support platform as well? I have lost track of which Python we need build doco. I suspect it is only 3. Chris On 24/3/21 7:05 am, Vijay Kumar Banerjee wrote: > --- > common/latex.py | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/common/latex.py b/c

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-30 Thread Vijay Kumar Banerjee
On Tue, Mar 30, 2021 at 8:01 AM Gedare Bloom wrote: > > Go ahead; platform.dist is deprecated/removed, and this is the right > replacement to make with backward compat to 2 via > platform.linux_distribution(). > Yes, I have also tested with 2 to ensure it's building. Thanks for the review. Pushed

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-30 Thread Gedare Bloom
Go ahead; platform.dist is deprecated/removed, and this is the right replacement to make with backward compat to 2 via platform.linux_distribution(). On Mon, Mar 29, 2021 at 7:43 PM Vijay Kumar Banerjee wrote: > > Hi, > Sorry for too many pings at once :) > > Thanks. > > On Tue, Mar 23, 2021 at 2

Re: [PATCH rtems-docs] common/latex.py: use distro module for python3.5 and up

2021-03-29 Thread Vijay Kumar Banerjee
Hi, Sorry for too many pings at once :) Thanks. On Tue, Mar 23, 2021 at 2:05 PM Vijay Kumar Banerjee wrote: > > --- > common/latex.py | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/common/latex.py b/common/latex.py > index a042510..a1b3917 100644 > --- a/common/