[Openstack-devel] Bug#725573: Bug#725573: python-cinderclient: FTBFS: ImportError: No module named requests

Thomas Goirand zigo at debian.org
Mon Oct 7 06:16:21 UTC 2013


On 10/07/2013 02:46 AM, David Suárez wrote:
> Source: python-cinderclient
> Version: 1:1.0.5-1
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20131006 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
>> make[1]: Entering directory `/«PKGBUILDDIR»'
>> python setup.py testr
>> running testr
>> running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 ${PYTHON:-python} -m subunit.run discover -t ./ ./cinderclient/tests  
>> ======================================================================
>> FAIL: unittest.loader.ModuleImportFailure.cinderclient.tests.test_base
>> tags: worker-0
>> ----------------------------------------------------------------------
>> ImportError: Failed to import test module: cinderclient.tests.test_base
>> 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 "/«PKGBUILDDIR»/cinderclient/tests/test_base.py", line 16, in <module>
>>     from cinderclient.v1 import volumes
>>   File "/«PKGBUILDDIR»/cinderclient/v1/__init__.py", line 17, in <module>
>>     from cinderclient.v1.client import Client     # noqa
>>   File "/«PKGBUILDDIR»/cinderclient/v1/client.py", line 16, in <module>
>>     from cinderclient import client
>>   File "/«PKGBUILDDIR»/cinderclient/client.py", line 47, in <module>
>>     import requests
>> ImportError: No module named requests

Hi,

Yesterday, I uploaded version 1:1.0.6-1, and it had the python-requests
build-depends. Could you please try again to rebuild the package with
the latest version, and tell me if you still have the error?

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list