Bug#1028858: seaborn: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.11" returned exit code 13
Lucas Nussbaum
lucas at debian.org
Sat Jan 14 13:04:35 GMT 2023
Source: seaborn
Version: 0.12.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm
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:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build; python3.10 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build
> collected 1888 items
>
> tests/test_algorithms.py ............ssssss.. [ 1%]
> tests/test_axisgrid.py ................................................. [ 3%]
> ....................................................................... [ 7%]
> tests/test_categorical.py .............................................. [ 9%]
> ........................................................................ [ 13%]
> ......................................s................................. [ 17%]
> ........................................................................ [ 21%]
> .................................. [ 23%]
> tests/test_core.py ..................................................... [ 25%]
> ........................................................................ [ 29%]
> ...............sss................. [ 31%]
> tests/test_decorators.py . [ 31%]
> tests/test_distributions.py ............................................ [ 33%]
> ..........s............................................................. [ 37%]
> .......................................................F................ [ 41%]
> .................................................................. [ 45%]
> tests/test_docstrings.py .... [ 45%]
> tests/test_matrix.py ..............................................ss... [ 47%]
> ....................................... [ 50%]
> tests/test_miscplot.py .s [ 50%]
> tests/test_objects.py . [ 50%]
> tests/test_palettes.py ...................................... [ 52%]
> tests/test_rcmod.py ....................s.s [ 53%]
> tests/test_regression.py ................ss.ss.........ssss............. [ 55%]
> ......s.. [ 56%]
> tests/test_relational.py ............................................... [ 58%]
> ............................ [ 60%]
> tests/test_statistics.py ............................................... [ 62%]
> s............ [ 63%]
> tests/test_utils.py ............................sss.s............ [ 65%]
> tests/_core/test_data.py .................................. [ 67%]
> tests/_core/test_groupby.py ........... [ 68%]
> tests/_core/test_moves.py .................................. [ 70%]
> tests/_core/test_plot.py ......................x............x..x........ [ 72%]
> ........x.x............................................................. [ 76%]
> ......................................................... [ 79%]
> tests/_core/test_properties.py ......................................... [ 81%]
> ........................................................................ [ 85%]
> ...................... [ 86%]
> tests/_core/test_rules.py ... [ 86%]
> tests/_core/test_scales.py ............................................. [ 89%]
> .........x............................. [ 91%]
> tests/_core/test_subplots.py .................................... [ 93%]
> tests/_marks/test_area.py ...... [ 93%]
> tests/_marks/test_bar.py ............... [ 94%]
> tests/_marks/test_base.py ........... [ 94%]
> tests/_marks/test_dot.py .............. [ 95%]
> tests/_marks/test_line.py ............................. [ 97%]
> tests/_marks/test_text.py ........ [ 97%]
> tests/_stats/test_aggregation.py ......... [ 97%]
> tests/_stats/test_counting.py ............................. [ 99%]
> tests/_stats/test_order.py ...... [ 99%]
> tests/_stats/test_regression.py ... [100%]
>
> =================================== FAILURES ===================================
> __________________ TestHistPlotBivariate.test_mesh_log_scale ___________________
>
> self = <tests.test_distributions.TestHistPlotBivariate object at 0x7f217a552a70>
> rng = RandomState(MT19937) at 0x7F216DDE8740
>
> def test_mesh_log_scale(self, rng):
>
> x, y = rng.lognormal(0, 1, (2, 1000))
> hist = Histogram()
> counts, (x_edges, y_edges) = hist(np.log10(x), np.log10(y))
>
> ax = histplot(x=x, y=y, log_scale=True)
> mesh = ax.collections[0]
> mesh_data = mesh.get_array()
>
> assert_array_equal(mesh_data.data, counts.T.flat)
>
> edges = itertools.product(y_edges[:-1], x_edges[:-1])
> for i, (y_i, x_i) in enumerate(edges):
> path = mesh.get_paths()[i]
> > assert path.vertices[0, 0] == 10 ** x_i
> E assert 0.14620429623446968 == (10 ** -0.8350398653842526)
>
> tests/test_distributions.py:1922: AssertionError
> =============================== warnings summary ===============================
> tests/test_categorical.py::TestPointPlotter::test_on_facetgrid
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build/seaborn/axisgrid.py:712: UserWarning: Using the pointplot function without specifying `order` is likely to produce an incorrect plot.
> warnings.warn(warning)
>
> tests/_core/test_properties.py::TestMarker::test_mapping_with_null_value
> tests/_core/test_properties.py::TestLineStyle::test_mapping_with_null_value
> tests/_core/test_scales.py::TestNominal::test_object_order_subset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build/seaborn/_core/properties.py:366: RuntimeWarning: invalid value encountered in cast
> ixs = np.asarray(x, np.intp)
>
> tests/_core/test_scales.py::TestNominal::test_color_numeric_with_order_subset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build/seaborn/_core/properties.py:643: RuntimeWarning: invalid value encountered in cast
> ixs = np.asarray(x, np.intp)
>
> tests/_stats/test_counting.py::TestCount::test_single_grouper
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build/seaborn/_stats/counting.py:40: SettingWithCopyWarning:
> A value is trying to be set on a copy of a slice from a DataFrame.
> Try using .loc[row_indexer,col_indexer] = value instead
>
> See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
> data[var] = data[orient]
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_distributions.py::TestHistPlotBivariate::test_mesh_log_scale
> = 1 failed, 1851 passed, 30 skipped, 6 xfailed, 6 warnings in 389.11s (0:06:29) =
> E: pybuild pybuild:388: test: plugin flit failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_seaborn/build; python3.10 -m pytest tests
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build; python3.11 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build
> collected 1888 items
>
> tests/test_algorithms.py ............ssssss.. [ 1%]
> tests/test_axisgrid.py ................................................. [ 3%]
> ....................................................................... [ 7%]
> tests/test_categorical.py .............................................. [ 9%]
> ........................................................................ [ 13%]
> ......................................s................................. [ 17%]
> ........................................................................ [ 21%]
> .................................. [ 23%]
> tests/test_core.py ..................................................... [ 25%]
> ........................................................................ [ 29%]
> ...............sss................. [ 31%]
> tests/test_decorators.py . [ 31%]
> tests/test_distributions.py ............................................ [ 33%]
> ..........s............................................................. [ 37%]
> .......................................................F................ [ 41%]
> .................................................................. [ 45%]
> tests/test_docstrings.py .... [ 45%]
> tests/test_matrix.py ..............................................ss... [ 47%]
> ....................................... [ 50%]
> tests/test_miscplot.py .s [ 50%]
> tests/test_objects.py . [ 50%]
> tests/test_palettes.py ...................................... [ 52%]
> tests/test_rcmod.py ....................s.s [ 53%]
> tests/test_regression.py ................ss.ss.........ssss............. [ 55%]
> ......s.. [ 56%]
> tests/test_relational.py ............................................... [ 58%]
> ............................ [ 60%]
> tests/test_statistics.py ............................................... [ 62%]
> s............ [ 63%]
> tests/test_utils.py ............................sss.s............ [ 65%]
> tests/_core/test_data.py .................................. [ 67%]
> tests/_core/test_groupby.py ........... [ 68%]
> tests/_core/test_moves.py .................................. [ 70%]
> tests/_core/test_plot.py ......................x............x..x........ [ 72%]
> ........x.x............................................................. [ 76%]
> ......................................................... [ 79%]
> tests/_core/test_properties.py ......................................... [ 81%]
> ........................................................................ [ 85%]
> ...................... [ 86%]
> tests/_core/test_rules.py ... [ 86%]
> tests/_core/test_scales.py ............................................. [ 89%]
> .........x............................. [ 91%]
> tests/_core/test_subplots.py .................................... [ 93%]
> tests/_marks/test_area.py ...... [ 93%]
> tests/_marks/test_bar.py ............... [ 94%]
> tests/_marks/test_base.py ........... [ 94%]
> tests/_marks/test_dot.py .............. [ 95%]
> tests/_marks/test_line.py ............................. [ 97%]
> tests/_marks/test_text.py ........ [ 97%]
> tests/_stats/test_aggregation.py ......... [ 97%]
> tests/_stats/test_counting.py ............................. [ 99%]
> tests/_stats/test_order.py ...... [ 99%]
> tests/_stats/test_regression.py ... [100%]
>
> =================================== FAILURES ===================================
> __________________ TestHistPlotBivariate.test_mesh_log_scale ___________________
>
> self = <tests.test_distributions.TestHistPlotBivariate object at 0x7fae9c8a4c10>
> rng = RandomState(MT19937) at 0x7FAEA4282F40
>
> def test_mesh_log_scale(self, rng):
>
> x, y = rng.lognormal(0, 1, (2, 1000))
> hist = Histogram()
> counts, (x_edges, y_edges) = hist(np.log10(x), np.log10(y))
>
> ax = histplot(x=x, y=y, log_scale=True)
> mesh = ax.collections[0]
> mesh_data = mesh.get_array()
>
> assert_array_equal(mesh_data.data, counts.T.flat)
>
> edges = itertools.product(y_edges[:-1], x_edges[:-1])
> for i, (y_i, x_i) in enumerate(edges):
> path = mesh.get_paths()[i]
> > assert path.vertices[0, 0] == 10 ** x_i
> E assert 0.14620429623446968 == (10 ** -0.8350398653842526)
>
> tests/test_distributions.py:1922: AssertionError
> =============================== warnings summary ===============================
> tests/test_categorical.py::TestPointPlotter::test_on_facetgrid
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build/seaborn/axisgrid.py:712: UserWarning: Using the pointplot function without specifying `order` is likely to produce an incorrect plot.
> warnings.warn(warning)
>
> tests/_core/test_properties.py::TestMarker::test_mapping_with_null_value
> tests/_core/test_properties.py::TestLineStyle::test_mapping_with_null_value
> tests/_core/test_scales.py::TestNominal::test_object_order_subset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build/seaborn/_core/properties.py:366: RuntimeWarning: invalid value encountered in cast
> ixs = np.asarray(x, np.intp)
>
> tests/_core/test_scales.py::TestNominal::test_color_numeric_with_order_subset
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build/seaborn/_core/properties.py:643: RuntimeWarning: invalid value encountered in cast
> ixs = np.asarray(x, np.intp)
>
> tests/_stats/test_counting.py::TestCount::test_single_grouper
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build/seaborn/_stats/counting.py:40: SettingWithCopyWarning:
> A value is trying to be set on a copy of a slice from a DataFrame.
> Try using .loc[row_indexer,col_indexer] = value instead
>
> See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
> data[var] = data[orient]
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_distributions.py::TestHistPlotBivariate::test_mesh_log_scale
> = 1 failed, 1851 passed, 30 skipped, 6 xfailed, 6 warnings in 353.98s (0:05:53) =
> E: pybuild pybuild:388: test: plugin flit failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_seaborn/build; python3.11 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/01/13/seaborn_0.12.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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 mine
so that we can identify if something relevant changed in the meantime.
More information about the debian-science-maintainers
mailing list