Hi,
at least some build-deps are missing:
 python-six,
 python3-six,
 python-pytest,
 python3-pytest

That fixes the build for Python 2.7 but later on fails
for Python 3.5


=============================================== FAILURES 
===============================================
___________________________ test_file_handler_unicode[activation_strategy0] 
____________________________

logfile = 
'/tmp/pytest-pbuilder/pytest-1/test_file_handler_unicode_acti0/logfile.log'
activation_strategy = <class 'tests.conftest.ContextEnteringStrategy'>
logger = <logbook.base.Logger object at 0x7f5fed6beb38>

    def test_file_handler_unicode(logfile, activation_strategy, logger):
        with capturing_stderr_context() as captured:
            with activation_strategy(logbook.FileHandler(logfile)):
                logger.info(u('\u0431'))
>       assert (not captured.getvalue())
E       assert not 'Traceback (most recent call last):\n  File 
"/tmp/buildd/logbook-0.10.0/.pybuild/pythonX.Y_3.5/build/logbook/handlers....e(128)\nLogged
 from file 
/tmp/buildd/logbook-0.10.0/.pybuild/pythonX.Y_3.5/build/tests/test_file_handler.py,
 line 25\n'
E        +  where 'Traceback (most recent call last):\n  File 
"/tmp/buildd/logbook-0.10.0/.pybuild/pythonX.Y_3.5/build/logbook/handlers....e(128)\nLogged
 from file 
/tmp/buildd/logbook-0.10.0/.pybuild/pythonX.Y_3.5/build/tests/test_file_handler.py,
 line 25\n' = <built-in method getvalue of _io.StringIO object at 
0x7f5fed6b3318>()
E        +    where <built-in method getvalue of _io.StringIO object at 
0x7f5fed6b3318> = <_io.StringIO object at 0x7f5fed6b3318>.getvalue

tests/test_file_handler.py:26: AssertionError


I'm not sure how to tackle that one.

HTH
Sven

Reply via email to