ok, so here’s a small task if someone is interested…
Task
upgrade EigenD version of Scons to latest Scon (4.3.0) - see, https://scons.org
Why
Its part of the Python 3 project for EigenD.
the basic build for scons is still working on python 3, so thats what Im using, and seems to have basic python 3.0 support…
however, Ive a feeling some of the packages (tools/Scons/packages) might struggle with later version of python 3.x, which are increasingly removing things that were just ‘depreciated’ in earlier 3.x versions.
it may also be that some of these tools in Scons, Ive just not used at this stage… and they may yet fail, e.g. when I come to create installers.
Scon current version also appears to be something like 2.5.1… so its quite a big jump to 4.x
What to do?
clone my EigenD repo, use python 3 branch.
make sure you can compile EigenD with python 3.
(i.e. make sure its working before you change anything ! )
THEN,
create a new branch off python3, to do your changes in !
THEN
understand how Scons has been packaged within EigenD
I think basically its everything under tools/Scons + tools/scons.py
EVERYTHING else is NOT scons
i.e. tools/*.py (excluding scons.py) and tools/pip_cmd are NOT part of scons…
so don’t touch them
really it should just be a matter of replacing old version with new version.
the only fun bit, is you likely can’t use any installer they provide… since its not a system install.
(and also it many need to be trimmed of ‘crap’ we don’t need… but Ive not checked this)
hopefully the above should not take too long !
now the tricky bit… (possibly)
THEN,
try to compile…
it may well be that scons has changed things, like how its tools are used etc.
really, at this point the key is determining HOW different it is, how much hassle its going to be… before committing lots of time to it!
side note: (a why I mentioned proceeding with caution on last step)
Its a little unclear to me, if scons as a project is still alive … its getting commits in GitHub, but its unclear if it has a real future , or if people have moved on from it.
on my side, I dont particularly like it, however EigenLabs have a lot of custom scons code (in tools/*.py) so it may be a reasonable amount of work to move away from it. more than I have time for at the moment. so it may be worth SOME effort to upgrade it…
but perhaps, at some point in the future we might move away from it…
so its a bit ‘in flux’ , but I lack time to do anything in this area at the moment!