On Fri, Dec 15, 2023 at 9:01 PM Thomas Goirand <zigo@debian.org> wrote:
diskimage-builder: I was able to fix the "ModuleNotFoundError: No module named 'imp'" (that's trivial to fix, really...), but now I get:
File "/usr/lib/python3/dist-packages/mock/mock.py", line 1245, in _importer thing = __import__(import_path) ^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'growvols'
looks like what I attempted to fix with rewriting a load_source (which is removed from Python 3.12) didn't work.
https://review.opendev.org/c/openstack/diskimage-builder/+/903848 works for me with Python 3.12 ... this is kind of a crazy one because we're running unit tests on a file we usually drop into the built-image container as a utility, so the file is being loaded into the unittests as a module manually. -i