[Python-modules-team] Bug#912034: python-tblib FTBFS with python3.7: doctests fail

Helmut Grohne helmut at subdivi.de
Sat Oct 27 15:10:04 BST 2018


Source: python-tblib
Version: 1.3.2-2
Severity: serious
Tags: ftbfs

python-tblib fails to build from source in unstable. A doctest fails
when run under python3.7:

| I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_tblib/build; python3.7 -m pytest -vv tests /<<PKGBUILDDIR>>/README.rst
| ============================= test session starts ==============================
| platform linux -- Python 3.7.1, pytest-3.6.4, py-1.6.0, pluggy-0.6.0 -- /usr/bin/python3.7
| cachedir: ../../../.pytest_cache
| rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
| collecting ... collected 1 item
| 
| ../../../README.rst::README.rst FAILED                                   [100%]
| 
| =================================== FAILURES ===================================
| _____________________________ [doctest] README.rst _____________________________
| 155     ...
| 156     >>> len(s3) > 1
| 157     True
| 158
| 159 Unpickling
| 160 ~~~~~~~~~~
| 161
| 162 ::
| 163
| 164     >>> pickle.loads(s1)
| Expected:
|     (<...Exception'>, Exception('fail',), <traceback object at ...>)
| Got:
|     (<class 'Exception'>, Exception('fail'), <traceback object at 0x7fc59ab269c8>)
| 
| /<<PKGBUILDDIR>>/README.rst:164: DocTestFailure
| =========================== short test summary info ============================
| FAIL ../../../README.rst::README.rst
| =========================== 1 failed in 0.01 seconds ===========================
| E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_tblib/build; python3.7 -m pytest -vv tests {dir}/README.rst
| dh_auto_test: pybuild --test -i python{version} -p "3.7 3.6" returned exit code 13
| make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:8: build] Error 2
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut



More information about the Python-modules-team mailing list