[Debian-med-packaging] Bug#795584: python-hl7: FTBFS: AttributeError: assert_call_with

Chris Lamb lamby at debian.org
Sat Aug 15 13:05:16 UTC 2015


Source: python-hl7
Version: 0.3.3-3
Severity: serious
Justification: fails to build from source

Dear Maintainer,

python-hl7 fails to build from source on unstable/amd64, probably due to
incompatibility with the current version of python-mock:

  [..]
  test_create_msg (tests.test_construction.ConstructionTest) ... ok
  
  ======================================================================
  ERROR: test_loose_no_stdin (tests.test_client.MLLPSendTest)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/buildd/python-hl7-0.3.3/tests/test_client.py", line 204,
    in test_loose_no_stdin
      self.mock_stderr().write.assert_call_with(
    File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 721, in
    __getattr__
      raise AttributeError(name)
  AttributeError: assert_call_with
  
  ----------------------------------------------------------------------
  Ran 74 tests in 0.162s
  
  FAILED (errors=1)
  E: pybuild pybuild:262: test: plugin distutils failed with: exit
  code=1: python2.7 setup.py test 
  dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir .
  returned exit code 13
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/rbuild/unstable/amd64/python-hl7_0.3.3-3.rbuild.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-hl7.0.3.3-3.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150815/91bacec1/attachment-0001.txt>


More information about the Debian-med-packaging mailing list