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

Chris Johns chrisj at rtems.org
Thu Apr 1 00:05:02 UTC 2021

On 1/4/21 11:03 am, Vijay Kumar Banerjee wrote:
> On Wed, Mar 31, 2021 at 4:19 PM Chris Johns <chrisj at rtems.org> 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 python>= 3.7, which
> made me think that maybe python2 is still being used to build docs so
> kept the platform import.

Thank you for the explanation.


More information about the devel mailing list