[Python-apps-team] Bug#867797: khal FTBFS with python 3.6 as supported version

Adrian Bunk bunk at debian.org
Sun Jul 9 15:09:23 UTC 2017


Source: khal
Version: 1:0.8.4-4
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/khal.html

...
I: pybuild base:184: cd /build/1st/khal-0.8.4/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.6.2rc2, pytest-3.0.6, py-1.4.34, pluggy-0.4.0
rootdir: /build/1st/khal-0.8.4, inifile: 
collected 133 items / 3 errors

==================================== ERRORS ====================================
_______ ERROR collecting .pybuild/pythonX.Y_3.6/build/tests/cli_test.py ________
ImportError while importing test module '/build/1st/khal-0.8.4/.pybuild/pythonX.Y_3.6/build/tests/cli_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
<frozen importlib._bootstrap>:942: in _find_and_load_unlocked
    ???
E   AttributeError: module 'vdirsyncer.utils' has no attribute '__path__'

During handling of the above exception, another exception occurred:
tests/cli_test.py:9: in <module>
    from khal.cli import main_khal, main_ikhal
khal/cli.py:36: in <module>
    from . import aux, controllers, khalendar, __version__
khal/controllers.py:25: in <module>
    from vdirsyncer.utils.vobject import Item
E   ModuleNotFoundError: No module named 'vdirsyncer.utils.vobject'; 'vdirsyncer.utils' is not a package
____ ERROR collecting .pybuild/pythonX.Y_3.6/build/tests/controller_test.py ____
ImportError while importing test module '/build/1st/khal-0.8.4/.pybuild/pythonX.Y_3.6/build/tests/controller_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/controller_test.py:4: in <module>
    from vdirsyncer.storage.base import Item
E   ImportError: cannot import name 'Item'
____ ERROR collecting .pybuild/pythonX.Y_3.6/build/tests/khalendar_test.py _____
ImportError while importing test module '/build/1st/khal-0.8.4/.pybuild/pythonX.Y_3.6/build/tests/khalendar_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/khalendar_test.py:8: in <module>
    from vdirsyncer.storage.base import Item
E   ImportError: cannot import name 'Item'
!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 3 error in 1.86 seconds ============================
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=2: cd /build/1st/khal-0.8.4/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.6 3.5 returned exit code 13
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the Python-apps-team mailing list