[Python-modules-team] Bug#804558: tweepy: FTBFS: ImportError: No module named {unittest2, vcr}

Chris Lamb lamby at debian.org
Mon Nov 9 15:00:50 UTC 2015


Source: tweepy
Version: 3.4.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

tweepy fails to build from source in unstable/amd64:

  [..]
    
  ======================================================================
  ERROR: tests.test_streaming (unittest.loader.ModuleImportFailure)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: tests.test_streaming
  Traceback (most recent call last):
    File "/usr/lib/python2.7/unittest/loader.py", line 254, in
    _find_tests
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/unittest/loader.py", line 232, in
    _get_module_from_name
      __import__(name)
    File "tests/test_streaming.py", line 3, in <module>
      from .config import tape
    File "tests/config.py", line 3, in <module>
      import vcr
  ImportError: No module named vcr
  
  
  ======================================================================
  ERROR: tests.test_utils (unittest.loader.ModuleImportFailure)
  ----------------------------------------------------------------------
  ImportError: Failed to import test module: tests.test_utils
  Traceback (most recent call last):
    File "/usr/lib/python2.7/unittest/loader.py", line 254, in
    _find_tests
      module = self._get_module_from_name(name)
    File "/usr/lib/python2.7/unittest/loader.py", line 232, in
    _get_module_from_name
      __import__(name)
    File "tests/test_utils.py", line 5, in <module>
      import unittest2 as unittest
  ImportError: No module named unittest2
  
  
  ----------------------------------------------------------------------
  Ran 7 tests in 0.001s
  
  FAILED (errors=7)
  E: pybuild pybuild:274: test: plugin distutils failed with: exit
  code=1: cd /build/tweepy-3.4.0/.pybuild/pythonX.Y_2.7/build; python2.7
  -m unittest discover -v 
  dh_auto_test: pybuild --test -i python{version} -p 2.7 --dir .
  returned exit code 13
  debian/rules:5: 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/logs/unstable/amd64/tweepy_3.4.0-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tweepy.3.4.0-1.unstable.amd64.log.txt.gz
Type: application/gzip
Size: 10873 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151109/6190ad60/attachment.bin>


More information about the Python-modules-team mailing list