[Debian-med-packaging] Bug#943619: test failures when running with python3.8

Matthias Klose doko at debian.org
Sun Oct 27 11:54:41 GMT 2019


Package: src:python-skbio
Version:  0.5.5-2
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.8

test failures when running with python3.8:

======================================================================
ERROR: test_munging_invalid_type_to_self_type 
(skbio.sequence.tests.test_sequence.TestDistance)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/tests/test_sequence.py", 
line 2369, in test_munging_invalid_type_to_self_type
     Sequence("ACGT").distance(42)
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/_sequence.py", 
line 1539, in distance
     other = self._munge_to_self_type(other, 'distance')
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/_sequence.py", 
line 2161, in _munge_to_self_type
     return self.__class__(other)
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/_sequence.py", 
line 622, in __init__
     s = np.frombuffer(sequence, dtype=np.uint8)
TypeError: a bytes-like object is required, not 'int'

======================================================================
ERROR: test_init_invalid_sequence (skbio.sequence.tests.test_sequence.TestSequence)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/tests/test_sequence.py", 
line 465, in test_init_invalid_sequence
     Sequence(('a', 'b', 'c'))
   File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build/skbio/sequence/_sequence.py", 
line 622, in __init__
     s = np.frombuffer(sequence, dtype=np.uint8)
TypeError: a bytes-like object is required, not 'tuple'

----------------------------------------------------------------------
Ran 2340 tests in 61.773s

FAILED (SKIP=30, errors=2)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_skbio/build; python3.8 -m nose -v
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.8 3.7" 
returned exit code 13
make: *** [debian/rules:13: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

full build log
https://launchpad.net/ubuntu/+source/python-skbio/0.5.5-2build1/+build/17952712



More information about the Debian-med-packaging mailing list