py3.9: failing tests: "bad marshal data"
See original GitHub issueHello,
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:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Installation on Python 3.7 raises ValueError: bad marshal data ...
When installing on Python "nightly" on Travis-CI, I see this error: ValueError: bad marshal data (unknown type code) For the full output see ......
Read more >Bad Marshal error -- runsnake - python - Stack Overflow
TL;DR: This error occurs when profiling in Python 2.x and viewing the profile in Python 3.x or vice versa. I had the same...
Read more >617926 – Yum fails with: ValueError: bad marshal data
I tested the ram yesterday with the fedora liveCD and there were no errors. ... re ValueError: bad marshal data # yum -v...
Read more >Error when adding ESP32 - ESPHome
I am trying to add my first ESP32 to HA, but I keep getting the below error when I try to install the...
Read more >History - Collection of Repositories - Python.org
Fix problem using wrong name in decimal module reported by pychecker. ... Tests ----- - test_socketserver should now work on cygwin and not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😃
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).