Bug#966991: seaborn: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

Lucas Nussbaum lucas at debian.org
Mon Aug 3 10:06:41 BST 2020


Source: seaborn
Version: 0.10.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> xvfb-run --auto-servernum --server-num=20 dh_auto_test override_dh_auto_test
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build; python3.8 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.8.5, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
> collected 591 items
> 
> seaborn/tests/test_algorithms.py ............ssssss                      [  3%]
> seaborn/tests/test_axisgrid.py ......................................... [  9%]
> .................................................                        [ 18%]
> seaborn/tests/test_categorical.py ...................................... [ 24%]
> ........................................................................ [ 36%]
> ....................                                                     [ 40%]
> seaborn/tests/test_distributions.py ....s.ss..ss......                   [ 43%]
> seaborn/tests/test_matrix.py ..............................F............ [ 50%]
> ss.......................................                                [ 57%]
> seaborn/tests/test_miscplot.py .s                                        [ 57%]
> seaborn/tests/test_palettes.py ....................................      [ 63%]
> seaborn/tests/test_rcmod.py ...................s.s                       [ 67%]
> seaborn/tests/test_regression.py ................ss.ss.........ssss..... [ 74%]
> .........s..                                                             [ 76%]
> seaborn/tests/test_relational.py ....................................... [ 82%]
> ........................................................                 [ 92%]
> seaborn/tests/test_utils.py ..........................................ss [ 99%]
> s                                                                        [100%]
> 
> =================================== FAILURES ===================================
> ________________________ TestHeatmap.test_square_aspect ________________________
> 
> self = <seaborn.tests.test_matrix.TestHeatmap object at 0x7f885889eb80>
> 
>     def test_square_aspect(self):
>     
>         ax = mat.heatmap(self.df_norm, square=True)
> >       nt.assert_equal(ax.get_aspect(), "equal")
> 
> seaborn/tests/test_matrix.py:423: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> /usr/lib/python3.8/unittest/case.py:912: in assertEqual
>     assertion_func(first, second, msg=msg)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> self = <nose.tools.trivial.Dummy testMethod=nop>, first = 1.0, second = 'equal'
> msg = "1.0 != 'equal'"
> 
>     def _baseAssertEqual(self, first, second, msg=None):
>         """The default assertEqual implementation, not type specific."""
>         if not first == second:
>             standardMsg = '%s != %s' % _common_shorten_repr(first, second)
>             msg = self._formatMessage(msg, standardMsg)
> >           raise self.failureException(msg)
> E           AssertionError: 1.0 != 'equal'
> 
> /usr/lib/python3.8/unittest/case.py:905: AssertionError
> =============================== warnings summary ===============================
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build/seaborn/axisgrid.py:936: UserWarning: FixedFormatter should only be used together with FixedLocator
>     ax.set_yticklabels(labels, **kwargs)
> 
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build/seaborn/axisgrid.py:924: UserWarning: FixedFormatter should only be used together with FixedLocator
>     ax.set_xticklabels(curr_labels, **kwargs)
> 
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build/seaborn/axisgrid.py:934: UserWarning: FixedFormatter should only be used together with FixedLocator
>     ax.set_yticklabels(curr_labels, **kwargs)
> 
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_categorical.py::TestCategoricalPlotter::test_1d_input_data
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_categorical.py:80: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
>     x_notreally_1d = np.array([self.x.ravel(),
> 
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_categorical.py::TestCategoricalStatPlotter::test_nested_stats_with_units
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_categorical.py::TestBoxenPlotter::test_box_ends_finite
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_regression.py::TestRegressionPlotter::test_estimate_units
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestRelationalPlotter::test_wide_list_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestRelationalPlotter::test_wide_list_of_series_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestLinePlotter::test_wide_list_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestLinePlotter::test_wide_list_of_series_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestLinePlotter::test_lineplot_smoke
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestLinePlotter::test_lineplot_smoke
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestScatterPlotter::test_wide_list_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestScatterPlotter::test_wide_list_of_series_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestScatterPlotter::test_scatterplot_smoke
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestRelPlotter::test_wide_list_variables
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_relational.py::TestRelPlotter::test_wide_list_of_series_variables
>   /usr/lib/python3/dist-packages/numpy/core/_asarray.py:83: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
>     return array(a, dtype, copy=False, order=order)
> 
> .pybuild/cpython3_3.8_seaborn/build/seaborn/tests/test_matrix.py::TestClustermap::test_row_col_colors_ignore_heatmap_kwargs
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build/seaborn/matrix.py:301: MatplotlibDeprecationWarning: Passing parameters norm and vmin/vmax simultaneously is deprecated since 3.3 and will become an error two minor releases later. Please pass vmin/vmax directly to the norm when creating it.
>     mesh = ax.pcolormesh(self.plot_data, vmin=self.vmin, vmax=self.vmax,
> 
> -- Docs: https://docs.pytest.org/en/latest/warnings.html
> ======= 1 failed, 562 passed, 28 skipped, 19 warnings in 123.57 seconds ========
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_seaborn/build; python3.8 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/seaborn_0.10.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list