Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py3.9: failing tests: "bad marshal data" #71

Open
sanjayankur31 opened this issue Oct 1, 2020 · 10 comments · Fixed by #129
Open

py3.9: failing tests: "bad marshal data" #71

sanjayankur31 opened this issue Oct 1, 2020 · 10 comments · Fixed by #129

Comments

@sanjayankur31
Copy link

Hello,

A few tests are failing while building pydeps for Fedora with py3.9:

+ pytest-3.9
============================= test session starts ==============================
platform linux -- Python 3.9.0rc2, pytest-6.0.2, py-1.9.0, pluggy-0.13.1
rootdir: /builddir/build/BUILD/pydeps-1.9.8
collected 37 items
tests/test_cli.py .                                                      [  2%]
tests/test_colors.py .....                                               [ 16%]
tests/test_cycles.py .                                                   [ 18%]
tests/test_dep2dot.py .                                                  [ 21%]
tests/test_dot.py .....                                                  [ 35%]
tests/test_externals.py .                                                [ 37%]
tests/test_file.py FFF                                                   [ 45%]
tests/test_funny_names.py .                                              [ 48%]
tests/test_json.py .                                                     [ 51%]
tests/test_py2dep.py .                                                   [ 54%]
tests/test_relative_imports.py ...FFF.                                   [ 72%]
tests/test_render_context.py ...                                         [ 81%]
tests/test_skinny_package.py .                                           [ 83%]
tests/test_skip.py ......                                                [100%]
=================================== FAILURES ===================================
__________________________________ test_file ___________________________________
    def test_file():
        files = """
            a.py: |
                import collections
        """
        with create_files(files) as workdir:
>           assert simpledeps('a.py') == set()
/builddir/build/BUILD/pydeps-1.9.8/tests/test_file.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:503: in scan_code
    self._safe_import_hook(parent.__name__, module, fromlist, level=0)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f9634171fd0>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
_______________________________ test_file_pylib ________________________________
    def test_file_pylib():
        files = """
            a.py: |
                import collections
        """
        with create_files(files) as workdir:
>           assert 'collections -> a' in simpledeps('a.py', '--pylib')
/builddir/build/BUILD/pydeps-1.9.8/tests/test_file.py:23: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:503: in scan_code
    self._safe_import_hook(parent.__name__, module, fromlist, level=0)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f9633e4c730>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
______________________________ test_file_pyliball ______________________________
    def test_file_pyliball():
        files = """
            a.py: |
                import collections
        """
        with create_files(files) as workdir:
>           assert 'collections -> a' in simpledeps('a.py', '--pylib --pylib-all')
/builddir/build/BUILD/pydeps-1.9.8/tests/test_file.py:32: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:503: in scan_code
    self._safe_import_hook(parent.__name__, module, fromlist, level=0)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f963367dbb0>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
___________________ test_relative_imports_same_name_with_std ___________________
    def test_relative_imports_same_name_with_std():
        files = """
            relimp:
                - __init__.py
                - io.py: |
                    import io
        """
        with create_files(files) as workdir:
            if sys.version_info < (3,):                # pragma: nocover
                deps = {'relimp.io -> relimp.io'}
            else:                                      # pragma: nocover
                deps = {'io -> relimp.io'}
>           assert simpledeps('relimp', '--pylib') == deps
/builddir/build/BUILD/pydeps-1.9.8/tests/test_relative_imports.py:61: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f9633e0e160>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
_______________ test_relative_imports_same_name_with_std_future ________________
    def test_relative_imports_same_name_with_std_future():
        files = """
            relimp:
                - __init__.py
                - io.py: |
                    from __future__ import absolute_import
                    import io
        """
        with create_files(files) as workdir:
            deps = {
                '__future__ -> relimp.io',
                'io -> relimp.io'
            }
>           assert simpledeps('relimp', '--pylib') == deps
/builddir/build/BUILD/pydeps-1.9.8/tests/test_relative_imports.py:77: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f96331cbd30>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
______________________________ test_pydeps_colors ______________________________
    def test_pydeps_colors():
        files = """
            pdeps:
                - __init__.py
                - colors.py: |
                    import colorsys
                - depgraph.py: |
                    import json
                    import pprint
                    import enum
                    from . import colors
        """
        with create_files(files, cleanup=False) as workdir:
>           assert simpledeps('pdeps', '-x enum') == {
                'pdeps.colors -> pdeps.depgraph',
            }
/builddir/build/BUILD/pydeps-1.9.8/tests/test_relative_imports.py:93: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:19: in simpledeps
    return {"%s -> %s" % (a.name, b.name) for a, b in depgrf(item, args)}
/builddir/build/BUILD/pydeps-1.9.8/tests/simpledeps.py:15: in depgrf
    return py2dep(Target(item), **empty(args))
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:214: in py2dep
    mf.run_script(dummy.fname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:117: in run_script
    self.load_module('__main__', fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:365: in _safe_import_hook
    self.import_hook(name, caller, [sub], level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:140: in import_hook
    self.ensure_fromlist(m, fromlist)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:171: in ensure_fromlist
    submod = self.import_module(sub, subname, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:495: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:302: in load_module
    module = self.load_package(fqname, pathname)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:526: in load_package
    self.load_module(fqname, fp, buf, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:130: in import_hook
    q, tail = self.find_head_package(parent, name)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:191: in find_head_package
    q = self.import_module(head, qname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:335: in load_module
    self.scan_code(co, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:511: in scan_code
    self.scan_code(literal, module)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:472: in scan_code
    self._safe_import_hook(name, module, fromlist, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:353: in _safe_import_hook
    self.import_hook(name, caller, level=level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:116: in import_hook
    return mf27.ModuleFinder.import_hook(self, name, caller, fromlist, level)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:134: in import_hook
    m = self.load_tail(q, tail)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:213: in load_tail
    m = self.import_module(head, mname, m)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:138: in import_module
    module = mf27.ModuleFinder.import_module(self, partnam, fqname, parent)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:283: in import_module
    m = self.load_module(fqname, fp, pathname, stuff)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/py2depgraph.py:145: in load_module
    module = mf27.ModuleFinder.load_module(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <pydeps.py2depgraph.MyModuleFinder object at 0x7f96338b20d0>
fqname = 'pydoc_data.topics'
fp = <_io.BufferedReader name='/usr/lib64/python3.9/pydoc_data/topics.pyc'>
pathname = '/usr/lib64/python3.9/pydoc_data/topics.pyc'
file_info = ('.pyc', 'rb', 2)
    def load_module(self, fqname, fp, pathname, file_info):
        # fqname = dotted module name we're loading
        suffix, mode, kind = file_info
        kstr = {
            imp.PKG_DIRECTORY: 'PKG_DIRECTORY',
            imp.PY_SOURCE: 'PY_SOURCE',
            imp.PY_COMPILED: 'PY_COMPILED',
        }.get(kind, 'unknown-kind')
        self.msgin(2, "load_module(%s) fqname=%s, fp=%s, pathname=%s" % (kstr, fqname, fp and "fp", pathname))
    
        if kind == imp.PKG_DIRECTORY:
            module = self.load_package(fqname, pathname)
            self.msgout(2, "load_module ->", module)
            return module
    
        if kind == imp.PY_SOURCE:
            co = compile(
                fp.read() + '\n',
                pathname,
                'exec',            # compile code block
                dont_inherit=True  # don't inherit future statements from current environment
            )
    
        elif kind == imp.PY_COMPILED:
            # a .pyc file is a binary file containing only thee things:
            #  1. a four-byte magic number
            #  2. a four byte modification timestamp, and
            #  3. a Marshalled code object
            # from: https://nedbatchelder.com/blog/200804/the_structure_of_pyc_files.html
            if fp.read(4) != imp.get_magic():
                self.msgout(2, "raise ImportError: Bad magic number", pathname)
                raise ImportError("Bad magic number in %s" % pathname)
            fp.read(4)   # skip modification timestamp
>           co = marshal.load(fp)  # load marshalled code object.
E           ValueError: bad marshal data (string size out of range)
/builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:324: ValueError
----------------------------- Captured stdout call -----------------------------
TMPDIR = /tmp/tmps0u8u6ik
=============================== warnings summary ===============================
pydeps/mf27.py:7
  /builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:7: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp
tests/test_cli.py: 1 warning
tests/test_cycles.py: 1 warning
tests/test_dep2dot.py: 2 warnings
tests/test_externals.py: 2 warnings
tests/test_file.py: 3 warnings
tests/test_funny_names.py: 1 warning
tests/test_json.py: 1 warning
tests/test_py2dep.py: 1 warning
tests/test_relative_imports.py: 7 warnings
tests/test_skinny_package.py: 1 warning
tests/test_skip.py: 12 warnings
  /builddir/build/BUILD/pydeps-1.9.8/pydeps/mf27.py:115: DeprecationWarning: 'U' mode is deprecated
    fp = open(pathname, READ_MODE)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED tests/test_file.py::test_file - ValueError: bad marshal data (string s...
FAILED tests/test_file.py::test_file_pylib - ValueError: bad marshal data (st...
FAILED tests/test_file.py::test_file_pyliball - ValueError: bad marshal data ...
FAILED tests/test_relative_imports.py::test_relative_imports_same_name_with_std
FAILED tests/test_relative_imports.py::test_relative_imports_same_name_with_std_future
FAILED tests/test_relative_imports.py::test_pydeps_colors - ValueError: bad m...
================== 6 failed, 31 passed, 33 warnings in 12.87s ==================

The complete build logs are attached:

pydeps-build.txt
pydeps-root.txt

@thebjorn
Copy link
Owner

thebjorn commented Oct 2, 2020

It looks like python 3.9 will change the .pyc format (or perhaps just the marshal/pickle protocol).

The solution probably involves comparing https://github.com/python/cpython/blob/master/Lib/modulefinder.py to pydeps' version...

A cursory look indicates that py3.9 skips the first 16 bytes (https://github.com/python/cpython/blob/master/Lib/modulefinder.py#L348) while our version skips the first 8 (https://github.com/thebjorn/pydeps/blob/master/pydeps/mf27.py#L324). There seems to be a number of other changes as well...

I'll gladly accept a PR from anyone that wants to work on this :-)

@septatrix
Copy link
Contributor

Why does pydeps bundle a version of the modulefinder library anyway - using the one from the stdlib should always load the pyc files from the current version correctly?

Your guess that this is caused by the byte offset seems to be correct. At least installing pydeps into a venv and changing that single detail resolved the issue for me.

@bcm0
Copy link

bcm0 commented Jul 30, 2021

I'm interested what the motivation is to provide a custom modulefinder (mf27.py) ?
In lines 320 and 323 I replaced 4 with 8 and it works.

@thebjorn
Copy link
Owner

IIRC, it's almost entirely due to the bug that is fixed in https://github.com/thebjorn/pydeps/blob/master/pydeps/mf27.py#L503 (original line commented out below). It doesn't stop Python's modulefinder.py from finding all modules, but it doesn't correctly represent the parent/child caller/callee importer/imported relationship - which is kind of important for pydeps.

@septatrix
Copy link
Contributor

Do you think it would be possible to subclass the module finder from the stdlib and only overwrite that single method?

septatrix added a commit to septatrix/pydeps that referenced this issue Feb 11, 2022
This fixes thebjorn#71
The vendored and outdated version is removed.
Instead the one from the stdlib is used and subclassed.
@septatrix
Copy link
Contributor

As the changes from #129 were effectively overwritten by some other commits this again fails (at least on py3.10)

@thebjorn
Copy link
Owner

thebjorn commented May 19, 2022

Yes, unfortunately the bundled modulefinder has an issue in Python 3.8-10 (python/cpython#84530) that prevents direct usage, see #139, #140, #141.

@septatrix
Copy link
Contributor

But even more unfortunate is that it is currently broken with every module on newer python versions

@thebjorn
Copy link
Owner

I guess that depends on which python version you are on, but I agree it's sub-optimal. Just pushing in the native modulefinder will also break (with the bug above) on newer python versions however, so it requires a better fix in pydeps. Unfortunately I haven't had time to look at it yet (nor write testcases to prevent regressions).

@thebjorn
Copy link
Owner

FWIW, resilient magic number parsing and .pyc loading has been added to v1.12.17, which hopefully fixes this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants