Package: src:python-cogent Version: 2020.2.7a+dfsg-2 Severity: serious Tags: sid bullseye User: debian-pyt...@lists.debian.org Usertags: python3.9
python-cogent ftbfs with python3.9 as supported python3 version: [...] ====================================================================== ERROR: test_dendro_shape (tests.test_draw.test_dendrogram.TestDendro) exercising using different values of shape parameter ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_dendrogram.py", line 125, in test_dendro_shape fig = dnd.figure File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 221, in figure self.layout.xaxis.title = xtitle AttributeError: 'dict' object has no attribute 'title' ====================================================================== ERROR: test_annotated_dotplot_remove_tracks (tests.test_draw.test_draw_integration.AlignmentDrawablesTests) removing annotation tracks from dotplot should work ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 209, in test_annotated_dotplot_remove_tracks orig_fig = dp.figure File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 564, in figure result = func() File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 355, in _build_2x2_fig _ = self._build_fig(xaxis="x2", yaxis="y2") File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 326, in _build_fig f = self.core.figure File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 221, in figure self.layout.xaxis.title = xtitle AttributeError: 'dict' object has no attribute 'title' ====================================================================== ERROR: test_count_gaps_per_seq (tests.test_draw.test_draw_integration.AlignmentDrawablesTests) creation of drawables works ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 241, in test_count_gaps_per_seq self._check_drawable_styles(aln.count_gaps_per_seq, styles) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 140, in _check_drawable_styles self._check_drawable_attrs(obj.drawable.figure, style) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 222, in figure self.layout.yaxis.title = ytitle AttributeError: 'dict' object has no attribute 'title' ====================================================================== ERROR: test_dotplot_annotated (tests.test_draw.test_draw_integration.AlignmentDrawablesTests) alignment with / without annotated seqs ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 174, in test_dotplot_annotated self._check_drawable_attrs(dp.figure, "scatter") File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 221, in figure self.layout.xaxis.title = xtitle AttributeError: 'dict' object has no attribute 'title' ====================================================================== ERROR: test_dotplot_regression (tests.test_draw.test_draw_integration.AlignmentDrawablesTests) Tests whether dotplot produces traces and in correct ordering. Also tests if pop_trace() works ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 148, in test_dotplot_regression _ = dp.figure File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/draw/drawable.py", line 221, in figure self.layout.xaxis.title = xtitle AttributeError: 'dict' object has no attribute 'title' ====================================================================== ERROR: test_union (tests.test_util.test_union_dict.UnionDictTests) correctly adjust a prob vector so all values > minval ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/util/union_dict.py", line 47, in __getattr__ result = super().__getattr__(item) AttributeError: 'super' object has no attribute '__getattr__' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_util/test_union_dict.py", line 63, in test_union self.assertEqual(d.d.e, 5) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/util/union_dict.py", line 49, in __getattr__ raise AttributeError(f"'{item}' not a key or attribute") AttributeError: 'e' not a key or attribute ====================================================================== FAIL: test_logo (tests.test_core.test_profile.MotifFreqsArrayTests) produces a Drawable with correct layout elements ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_core/test_profile.py", line 368, in test_logo self.assertTrue(len(fig.layout.xaxis) > 10) AssertionError: False is not true ====================================================================== FAIL: test_layout_with_titles (tests.test_draw.test_draw_integration.CustomDrawable) if provided layout has axis titles, keep them ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_draw/test_draw_integration.py", line 118, in test_layout_with_titles self.assertEqual(fig.layout.xaxis.title, "X") AssertionError: None != 'X' ====================================================================== FAIL: test_union_with_empty_sub_dict (tests.test_util.test_union_dict.UnionDictTests) unioning with a dict that has an empty sub-dict ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/tests/test_util/test_union_dict.py", line 83, in test_union_with_empty_sub_dict self.assertEqual(e, f) File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build/cogent3/util/unit_test.py", line 327, in failUnlessEqual raise self.failureException( AssertionError: Got {'title': {}}, but expected {'title': {'text': 'Alignment Position'}} ---------------------------------------------------------------------- Ran 2285 tests in 122.544s FAILED (failures=3, errors=6, skipped=1) E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cogent3/build; python3.9 -m unittest discover -v