Bug#980688: seaborn: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
Lucas Nussbaum
lucas at debian.org
Wed Jan 20 20:47:28 GMT 2021
Source: seaborn
Version: 0.10.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 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:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_seaborn/build; python3.9 -m pytest
> ============================= test session starts ==============================
> platform linux -- Python 3.9.1+, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: 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 ........................................... [ 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 ................................F.........ss [ 99%]
> s [100%]
>
> =================================== FAILURES ===================================
> ________________________ test_locator_to_legend_entries ________________________
>
> def test_locator_to_legend_entries():
>
> locator = mpl.ticker.MaxNLocator(nbins=3)
> limits = (0.09, 0.4)
> levels, str_levels = utils.locator_to_legend_entries(
> locator, limits, float
> )
> assert str_levels == ["0.00", "0.15", "0.30", "0.45"]
>
> limits = (0.8, 0.9)
> levels, str_levels = utils.locator_to_legend_entries(
> locator, limits, float
> )
> assert str_levels == ["0.80", "0.84", "0.88", "0.92"]
>
> limits = (1, 6)
> levels, str_levels = utils.locator_to_legend_entries(locator, limits, int)
> assert str_levels == ["0", "2", "4", "6"]
>
> locator = mpl.ticker.LogLocator(numticks=3)
> limits = (5, 1425)
> levels, str_levels = utils.locator_to_legend_entries(locator, limits, int)
> if LooseVersion(mpl.__version__) >= "3.1":
> > assert str_levels == ['0', '1', '100', '10000', '1e+06']
> E AssertionError: assert ['0', '1', '1... '10000', ...] == ['0', '1', '1...000', '1e+06']
> E At index 2 diff: '10' != '100'
> E Left contains 2 more items, first extra item: '10000'
> E Use -v to get the full diff
>
> seaborn/tests/test_utils.py:395: AssertionError
> =============================== warnings summary ===============================
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_seaborn/build/seaborn/axisgrid.py:936: UserWarning: FixedFormatter should only be used together with FixedLocator
> ax.set_yticklabels(labels, **kwargs)
>
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_seaborn/build/seaborn/axisgrid.py:924: UserWarning: FixedFormatter should only be used together with FixedLocator
> ax.set_xticklabels(curr_labels, **kwargs)
>
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_axisgrid.py::TestFacetGrid::test_set_ticklabels
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_seaborn/build/seaborn/axisgrid.py:934: UserWarning: FixedFormatter should only be used together with FixedLocator
> ax.set_yticklabels(curr_labels, **kwargs)
>
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_categorical.py::TestCategoricalPlotter::test_1d_input_data
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_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.9_seaborn/build/seaborn/tests/test_categorical.py: 2 warnings
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_regression.py: 1 warning
> .pybuild/cpython3_3.9_seaborn/build/seaborn/tests/test_relational.py: 12 warnings
> /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.9_seaborn/build/seaborn/tests/test_matrix.py::TestClustermap::test_row_col_colors_ignore_heatmap_kwargs
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_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/stable/warnings.html
> =========================== short test summary info ============================
> FAILED seaborn/tests/test_utils.py::test_locator_to_legend_entries - Assertio...
> ====== 1 failed, 562 passed, 28 skipped, 20 warnings in 111.02s (0:01:51) ======
> E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_seaborn/build; python3.9 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/01/20/seaborn_0.10.1-2_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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
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