Python 3.12 gets rid of the imp module. Moreover, it gets rid of imp.load_source() altogether. We thus need to change around how we do the magic 'import from parent directory' statement.
There are also a few other things which were popping up warnings when I ran things locally.
Python 3.12 gets rid of the
imp
module. Moreover, it gets rid ofimp.load_source()
altogether. We thus need to change around how we do the magic 'import from parent directory' statement.There are also a few other things which were popping up warnings when I ran things locally.