Package: python-mock
Version: 1.3.0-1
Severity: important
Dear Maintainer,
I cannot import mock, either using python 2 or 3.
$ python
Python 2.7.10 (default, Jul 1 2015, 10:54:53)
[GCC 4.9.2] on linux2
Type help, copyright, credits or license for more information.
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 71, in module
_v = VersionInfo('mock').semantic_version()
AttributeError: 'VersionInfo' object has no attribute 'semantic_version'
$ python3
Python 3.4.3+ (default, Jul 28 2015, 13:17:50)
[GCC 4.9.3] on linux
Type help, copyright, credits or license for more information.
import mock
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python3/dist-packages/mock/__init__.py, line 2, in
module
import mock.mock as _mock
File /usr/lib/python3/dist-packages/mock/mock.py, line 71, in module
_v = VersionInfo('mock').semantic_version()
AttributeError: 'VersionInfo' object has no attribute 'semantic_version'
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (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-pbr 0.8.2-1
ii python-six 1.9.0-3
pn python:any none
python-mock recommends no packages.
Versions of packages python-mock suggests:
pn python-mock-doc none
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org