[PATCH 0/3] Source Builder: Fixes for Python 3.8

Chris Johns chrisj at rtems.org
Tue Apr 28 00:31:44 UTC 2020


On 28/4/20 5:15 am, Anders Montonen wrote:
> These patches fix some issues with Python 3.8 compatibility, which I
> encountered when trying out the new Ubuntu 20.04 release. There's also
> fixes for a number of syntax warnings which are flagged even with older
> Python versions.

Pushed. Thanks.

> The patches should not break compatibility with older Python versions,
> but I have not actually tested.

Tested on python 2.7.

> I'm not sure if the Linux distro check fix is the most elegant,

I do not know and it worked on Ubuntu LTS so I am OK with the change.

> but I
> think the whole thing should be changed to check if the required
> executables are found in the runtime path, instead of assuming some
> hard-coded locations.

I am not sure, you could be right. The original idea was to make sure 
the exact binaries you want are used. Things have evolved a long way 
from that place. What you suggest maybe a suitable path to follow.

Again, thanks.
Chris


More information about the devel mailing list