Wip: feat!: make module loading function use importlib instead of imp

15 jobs for !63 with topic/default/imp-to-importlib in 2 minutes and 46 seconds (queued for 1 minute and 10 seconds)
latest merge request
Name Stage Failure
failed
mypy Lint
logilab/common/configuration.py:805: error: Incompatible default for argument "args" (default has type "None", argument has type "List[str]")  [assignment]
logilab/common/configuration.py:805: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
logilab/common/configuration.py:805: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
Found 43 errors in 12 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
failed
flake8 Lint
ERROR: InvocationError for command /builds/open-source/logilab-common/.tox/flake8/bin/flake8 (exited with code 1)
___________________________________ summary ____________________________________
ERROR: flake8: commands failed
Uploading artifacts for failed job
Uploading artifacts...
WARNING: gl-code-quality-report.json: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1
failed
black Lint
would reformat logilab/common/modutils.py

Oh no! 💥 💔 💥
1 file would be reformatted, 83 files would be left unchanged.
ERROR: InvocationError for command /builds/open-source/logilab-common/.tox/black/bin/black --check . (exited with code 1)
___________________________________ summary ____________________________________
ERROR: black: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1