I’ve been using nbdev since the release on my laptop, and so far it’s been great.
I’ve just pulled my repo on another computer after installing nbdev as well, and it seems the behaviour of nbdev_build_lib has changed.
in my notebooks i have a bunch of import mylib.foo as foo
, mylib
being the lib_name from settings.ini
on my laptop, (with nbdev installed very early at the release, and not updated since), the generated code is stayed untouch as import mylib.foo as foo
and it works great
on the fresh install, the code is modified to import .foo as foo
and my python (3.7) is complaining with a SyntaxError: invalid syntax
error message. It doesn’t like the .foo part.
Did you guys change how the imports are processed? How can I solve this syntax error?