modm-io / lbuild

lbuild: a generic, modular code generator in Python 3
https://pypi.org/project/lbuild
BSD 2-Clause "Simplified" License
37 stars 12 forks source link

Take the absolute config path to search for parent configs #79

Closed se-bi closed 1 year ago

se-bi commented 1 year ago

If it comes from a cli argument it might be a relative path and it fails (with a couple of prints around that place):

$ lbuild -p generated/unittest/nucleo-f446re -c config/nucleo-f446re.xml  -C generated/unittest/nucleo-f446re build
config
config
config
.

ERROR: Configuration(config/nucleo-f446re.xml): name 'modm:nucleo-f446re' not found in any repository!
....

Afterwards, obviously it prints the absolute paths up to /

I did not look into what else changed, since that project worked well a long time (ago),
and those lines around were not changed in a longer time as well, ... :shrug:

se-bi commented 1 year ago

I updated the list of python version for the github workflows as well