Source: pep257
Version: 0.5.0-1
Severity: serious
Tags: upstream
Justification: fails to build from source
pep257 tests break with python-mock 1.3.0:
<buildlog>
test_definitions.test_token_stream ... ok
Run domain-specific tests from test.py file. ... ok
Failure: AttributeError ('VersionInfo' object has no attribute
'semantic_version') ... ERROR
======================================================================
ERROR: Failure: AttributeError ('VersionInfo' object has no attribute
'semantic_version')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 420, in
loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 47, in
importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 94, in
importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/«PKGBUILDDIR»/test_pep257.py", line 8, in <module>
import mock
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'
----------------------------------------------------------------------
Ran 4 tests in 0.063s
</buildlog>
I'm going to fix that, soon.
DS
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pep257 depends on:
ii python 2.7.9-1
pn python:any <none>
pep257 recommends no packages.
pep257 suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]