[Debian-med-packaging] Bug#972548: python-skbio: FTBFS with Python 3.9 as supported

Graham Inggs ginggs at debian.org
Tue Oct 20 07:57:54 BST 2020


Source: python-skbio
Version: 0.5.6-3
Tags: ftbfs sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9

Hi Maintainer

Python-skbio FTBFS with Python 3.9 as a supported Python version.

I've copied what I hope is the relevant part of the log below.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=python-skbio


=================================== FAILURES ===================================
_ TestTabularMSAPositionalMetadata.test_positional_metadata_getter_set_column_array
_
ValueError: Length of values (7) does not match length of index (8)

During handling of the above exception, another exception occurred:

self = <skbio.alignment.tests.test_tabular_msa.TestTabularMSAPositionalMetadata
testMethod=test_positional_metadata_getter_set_column_array>

    def test_positional_metadata_getter_set_column_array(self):
        length = 8
        obj = self._positional_metadata_constructor_(
            length, positional_metadata={'foo': range(length)})

        # array-like objects will fail if wrong size.
        for array_like in (np.array(range(length-1)), range(length-1),
                           np.array(range(length+1)), range(length+1)):
            with self.assertRaisesRegex(ValueError,
                                        "Length of values does not match "
                                        "length of index"):
>               obj.positional_metadata['bar'] = array_like
E               AssertionError: "Length of values does not match
length of index" does not match "Length of values (7) does not match
length of index (8)"

skbio/metadata/_testing.py:721: AssertionError
_ TestPositionalMetadataMixin.test_positional_metadata_getter_set_column_array _
ValueError: Length of values (7) does not match length of index (8)

During handling of the above exception, another exception occurred:

self = <skbio.metadata.tests.test_mixin.TestPositionalMetadataMixin
testMethod=test_positional_metadata_getter_set_column_array>

    def test_positional_metadata_getter_set_column_array(self):
        length = 8
        obj = self._positional_metadata_constructor_(
            length, positional_metadata={'foo': range(length)})

        # array-like objects will fail if wrong size.
        for array_like in (np.array(range(length-1)), range(length-1),
                           np.array(range(length+1)), range(length+1)):
            with self.assertRaisesRegex(ValueError,
                                        "Length of values does not match "
                                        "length of index"):
>               obj.positional_metadata['bar'] = array_like
E               AssertionError: "Length of values does not match
length of index" does not match "Length of values (7) does not match
length of index (8)"

skbio/metadata/_testing.py:721: AssertionError
_ TestSequencePositionalMetadata.test_positional_metadata_getter_set_column_array
_
ValueError: Length of values (7) does not match length of index (8)

During handling of the above exception, another exception occurred:

self = <skbio.sequence.tests.test_sequence.TestSequencePositionalMetadata
testMethod=test_positional_metadata_getter_set_column_array>

    def test_positional_metadata_getter_set_column_array(self):
        length = 8
        obj = self._positional_metadata_constructor_(
            length, positional_metadata={'foo': range(length)})

        # array-like objects will fail if wrong size.
        for array_like in (np.array(range(length-1)), range(length-1),
                           np.array(range(length+1)), range(length+1)):
            with self.assertRaisesRegex(ValueError,
                                        "Length of values does not match "
                                        "length of index"):
>               obj.positional_metadata['bar'] = array_like
E               AssertionError: "Length of values does not match
length of index" does not match "Length of values (7) does not match
length of index (8)"

skbio/metadata/_testing.py:721: AssertionError



More information about the Debian-med-packaging mailing list