[Python-modules-team] Bug#807157: Mock fails to import
Arto Jantunen
viiru at debian.org
Sun Dec 6 08:22:02 UTC 2015
Package: python-mock
Version: 1.3.0-2.1
Severity: grave
Trying to import mock returns the following traceback:
>>> import mock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/mock/__init__.py", line 2, in <module>
import mock.mock as _mock
File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 69, in <module>
from pbr.version import VersionInfo
File "/usr/lib/python2.7/dist-packages/pbr/version.py", line 25, in <module>
import pkg_resources
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 90, in <module>
packaging = pkg_resources._vendor.packaging
AttributeError: 'module' object has no attribute '_vendor'
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-mock depends on:
ii python-funcsigs 0.4-2
ii python-pbr 1.8.0-4
ii python-six 1.10.0-1
pn python:any <none>
python-mock recommends no packages.
Versions of packages python-mock suggests:
pn python-mock-doc <none>
-- no debconf information
More information about the Python-modules-team
mailing list