[Python-apps-team] Bug#711797: cloud-init: FTBFS: ImportError: No module named requests
Jakub Wilk
jwilk at debian.org
Sun Jun 9 22:32:40 UTC 2013
Source: cloud-init
Version: 0.7.2-1
Severity: serious
Justification: fails to build from source
cloud-init FTBFS:
| debian/rules override_dh_auto_test
| make[1]: Entering directory `/build/cloud-init-1uoW6F/cloud-init-0.7.2'
| dh_auto_test
| /usr/bin/make test
| make[2]: Entering directory `/build/cloud-init-1uoW6F/cloud-init-0.7.2'
| EEEEEEEEEEEEEEEEEEEEEEEEE
| ======================================================================
| ERROR: Failure: ImportError (No module named requests)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 413, 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 "/build/cloud-init-1uoW6F/cloud-init-0.7.2/tests/unittests/test__init__.py", line 8, in <module>
| from cloudinit import handlers
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/handlers/__init__.py", line 31, in <module>
| from cloudinit import util
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/util.py", line 55, in <module>
| from cloudinit import url_helper
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/url_helper.py", line 25, in <module>
| import requests
| ImportError: No module named requests
|
| ======================================================================
| ERROR: Failure: ImportError (No module named requests)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 413, 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 "/build/cloud-init-1uoW6F/cloud-init-0.7.2/tests/unittests/test_builtin_handlers.py", line 6, in <module>
| from tests.unittests import helpers as test_helpers
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/tests/unittests/helpers.py", line 10, in <module>
| from cloudinit import helpers as ch
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/helpers.py", line 36, in <module>
| from cloudinit import util
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/util.py", line 55, in <module>
| from cloudinit import url_helper
| File "/build/cloud-init-1uoW6F/cloud-init-0.7.2/cloudinit/url_helper.py", line 25, in <module>
| import requests
| ImportError: No module named requests
|
[...]
|
| ----------------------------------------------------------------------
| Ran 25 tests in 0.023s
|
| FAILED (errors=25)
| make[2]: *** [test] Error 1
--
Jakub Wilk
More information about the Python-apps-team
mailing list