No, all the build scripts should explicitly use python3, if they don’t then that is an error and I’ll fix it.
On Mac/Linux/WSL there are 2 ways to manually run the Python scripts:
cd utils
./docs.py
or
cd utils
python3 docs.py
The first method will automatically use python3 as it is on the #! line (i.e. the very first line of the script).
In the second example, then yes you must explicitly make sure that you are using the correct Python binary.
That’s true.
As it stands new users need help getting the toolchain up and running, which sometimes requires us to figure out which fork is most up to date.
If we switch to Docker, then most of our support will instead be about getting their Docker installations up and running. IMO if we ask them to install Docker then we’re a little obliged to help them out with their follow up questions (e.g. where has all my disk space gone, why is this VM always running).
@Dewb, I had a look at your Dockerfile. A few pointers if I may…
If you can, don’t bother trying to build the toolchain. See if you get it working with the Atmel provided binaries instead. See the .travis.yml file in the Teletype repo for how to do this, and ask me if that’s not obvious. Unfortunately those binaries have stopped working on my up to date Arch Linux, my guess is that a recent glibc update finally broke them.
I’m pretty sure you’ll end up with root owned files as it stands on Linux. I’m don’t know what the idiomatic solution to that is though.