Source: python-cachecontrol
Version: 0.11.5-1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]

Dear Maintainer,

The package fails to build:

I: pybuild base:170: cd 
/python-cachecontrol-0.11.5/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest 
discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
I: pybuild base:170: cd 
/python-cachecontrol-0.11.5/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest 
discover -v 
cachecontrol (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: cachecontrol (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: cachecontrol
Traceback (most recent call last):
  File "/usr/lib/python3.5/unittest/loader.py", line 462, in _find_test_path
    package = self._get_module_from_name(name)
  File "/usr/lib/python3.5/unittest/loader.py", line 369, in 
_get_module_from_name
    __import__(name)
  File 
"/python-cachecontrol-0.11.5/.pybuild/pythonX.Y_3.5/build/cachecontrol/__init__.py",
 line 9, in <module>
    from .wrapper import CacheControl
  File 
"/python-cachecontrol-0.11.5/.pybuild/pythonX.Y_3.5/build/cachecontrol/wrapper.py",
 line 1, in <module>
    from .adapter import CacheControlAdapter
  File 
"/python-cachecontrol-0.11.5/.pybuild/pythonX.Y_3.5/build/cachecontrol/adapter.py",
 line 3, in <module>
    from requests.adapters import HTTPAdapter
ImportError: No module named 'requests'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-cachecontrol.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to