Bug#793945: Cannot import mock AttributeError: 'VersionInfo' object has no, attribute 'semantic_version'

2015-07-30 Thread Daniel Stender
The missing dep on funcsigs is now addressed to #.

DS

[1] https://bugs.debian.org/794013 (reassigned from python-xmp-toolkit)
python-mock: missing dep on python-funcsigs

-- 
http://www.danielstender.com/blog/
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#793945: Cannot import mock AttributeError: 'VersionInfo' object has no, attribute 'semantic_version'

2015-07-29 Thread Daniel Stender
The current pbr in Sid (0.8.2) doesn't feature VersionInfo.semantic_version(),
but only 1.3.0 in experimental does. Furthermore, python-mock/1.3.0-1 FTBFS in
a clean unstable chroot due to the missing updated pbr.

DS

-- 
http://www.danielstender.com/blog/
4096R/DF5182C8
46CB 1CA8 9EA3 B743 7676 1DB9 15E0 9AF4 DF51 82C8


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#793945: Cannot import mock AttributeError: 'VersionInfo' object has no, attribute 'semantic_version'

2015-07-29 Thread Christopher Baines
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