Hello, I also tried poking at this issue today and ran into the same problem. Replacing
imp with what I believe to be the equivalent importlib commands results in a bunch of
errors during testing (many "TypeError: SomeFunction() takes no arguments"
errors).
However, the problematic imports appear only in two files, neither of which are
installed in the final .debs, so the FTBFS is only a problem in running the
test suite. I was able to build a working package by simply disabling the tests
in debian/rules:
override_dh_auto_test:
@echo "Tests disabled in debian/rules, see https://bugs.debian.org/1055575"
While disabling tests isn't the best option in the world, it does prevent
autoremoval until the upstream issue is resolved.
Thanks for all your work!
- Dean