21.02.2016, 10:37, Chris Lamb kirjoitti: > Source: python-kdcproxy > Version: 0.3.2-1 > Severity: serious > Justification: fails to build from source > User: reproducible-bui...@lists.alioth.debian.org > Usertags: ftbfs > X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org > > Dear Maintainer, > > python-kdcproxy fails to build from source in unstable/amd64:
I'm not sure if pybuild did the right thing, but running tox manually reveals something that is actually a bug in mock FAILURES =================================== _________KDCProxyWSGITests.test_post_asreq _______________________ /usr/lib/python2.7/dist-packages/mock/mock.py:1297: in patched arg = patching.__enter__() /usr/lib/python2.7/dist-packages/mock/mock.py:1450: in __enter__ _name=self.attribute, **kwargs) /usr/lib/python2.7/dist-packages/mock/mock.py:2320: in create_autospec _name='()', _parent=mock) /usr/lib/python2.7/dist-packages/mock/mock.py:2359: in create_autospec _check_signature(original, new, skipfirst=skipfirst) /usr/lib/python2.7/dist-packages/mock/mock.py:228: in _check_signature _copy_func_details(func, checksig) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <unbound method _socketobject.bind> funcopy = <function bind at 0x7f4904353e60> def _copy_func_details(func, funcopy): funcopy.__name__ = func.__name__ funcopy.__doc__ = func.__doc__ try: funcopy.__text_signature__ = func.__text_signature__ except AttributeError: pass # we explicitly don't copy func.__dict__ into this copy as it would # expose original attributes that should be mocked try: funcopy.__module__ = func.__module__ except AttributeError: pass try: funcopy.__defaults__ = func.__defaults__ except AttributeError: pass try: funcopy.__kwdefaults__ = func.__kwdefaults__ except AttributeError: pass if not inPy3k: > funcopy.func_defaults = func.func_defaults E AttributeError: 'functools.partial' object has no attribute 'func_defaults' https://github.com/nsqio/pynsq/pull/147 though I haven't tested if this would fix the tests here. -- t