refactor: use importlib instead of imp in

11 jobs for !43 with topic/default/deprecated-warnings in 3 minutes and 17 seconds (queued for 1 minute and 31 seconds)
latest merge request
Name Stage Failure
mypy Lint
logilab/common/ note: This violates the Liskov substitution principle
logilab/common/ note: See
logilab/common/ error: Argument 1 to "format_option_strings" of "HelpFormatter" has incompatible type "OptionParser"; expected "Option"
Found 6 errors in 3 files (checked 41 source files)
ERROR: InvocationError for command /builds/open-source/logilab-common/.tox/mypy/bin/mypy --ignore-missing-imports logilab (exited with code 1)
___________________________________ summary ____________________________________
ERROR: mypy: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1