Traceback (most recent call last):
File "/builddir/build/BUILD/Pympler-0.4.3/test/tracker/test_classtracker.py", line 178, in test_snapshot_members
self.tracker.create_snapshot(compute_total=True)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/classtracker.py", line 567, in create_snapshot
snapshot.asizeof_total = asizeof.asizeof(all=True, code=True)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 2191, in asizeof
s = _asizer.asizeof(*t)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1783, in asizeof
s, _ = self._sizes(objs, None)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1753, in _sizes
s[i] = self._sizer(o, 0, sized)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1729, in _sizer
s += z(o, d, None)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1729, in _sizer
s += z(o, d, None)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1729, in _sizer
s += z(o, d, None)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1729, in _sizer
s += z(o, d, None)
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 1728, in _sizer
for o in r(obj, False):
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 536, in _refs
for _, o in _dir2(obj, **kwds):
File "/builddir/build/BUILDROOT/python-Pympler-0.4.3-1.fc25.noarch/usr/lib/python3.5/site-packages/pympler/asizeof.py", line 347, in _dir2
if hasattr(obj, slots):
File "/usr/lib/python3.5/site-packages/matplotlib/externals/six.py", line 116, in __getattr__
_module = self._resolve()
File "/usr/lib/python3.5/site-packages/matplotlib/externals/six.py", line 113, in _resolve
return _import_module(self.mod)
File "/usr/lib/python3.5/site-packages/matplotlib/externals/six.py", line 80, in _import_module
__import__(name)
ImportError: No module named 'winreg'
To help us understand and resolve your issue please check that you have provided
the information below.
that demonstrates the issue i.e a small piece of code which reproduces the issue
and can be run with out any other (or as few as possible) external dependencies.
The bundled six.py has this:
while python-six-1.10.0 (latest version) has this:
I applied this patch:
and replaced all imports from bundled six to system-wide six without any adverse effects. Please consider unbundling six and using system-wide version.