Source: pandas Version: 1.5.3+dfsg-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20230216 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > _________ test_expanding_apply_consistency_sum_nans[all_data17-2-sum] > __________ > request = <FixtureRequest for <Function > test_expanding_apply_consistency_sum_nans[all_data17-2-sum]>> > all_data = 0 > 0 NaN > 1 1.0 > 2 NaN > 3 3.0 > 4 2.0, min_periods = 2 > f = <function sum at 0x7f0bc1685440> > > @pytest.mark.parametrize("f", [lambda v: Series(v).sum(), np.nansum, > np.sum]) > def test_expanding_apply_consistency_sum_nans(request, all_data, > min_periods, f): > if f is np.sum: > if not no_nans(all_data) and not ( > all_na(all_data) and not all_data.empty and min_periods > 0 > ): > request.node.add_marker( > pytest.mark.xfail(reason="np.sum has different behavior > with NaNs") > ) > expanding_f_result = all_data.expanding(min_periods=min_periods).sum() > expanding_apply_f_result = > all_data.expanding(min_periods=min_periods).apply( > func=f, raw=True > ) > > tm.assert_equal(expanding_f_result, expanding_apply_f_result) > > pandas/tests/window/moments/test_moments_consistency_expanding.py:29: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > pandas/_libs/testing.pyx:52: in pandas._libs.testing.assert_almost_equal > cpdef assert_almost_equal(a, b, > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > > > raise_assert_detail(obj, msg, lobj, robj, index_values=index_values) > E AssertionError: DataFrame.iloc[:, 0] (column name="0") are different > E > E DataFrame.iloc[:, 0] (column name="0") values are different (40.0 %) > E [index]: [0, 1, 2, 3, 4] > E [left]: [nan, nan, nan, 4.0, 6.0] > E [right]: [nan, nan, nan, nan, nan] > > pandas/_libs/testing.pyx:167: AssertionError > - generated xml file: > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test-data.xml - > ============================= slowest 30 durations > ============================= > 0.69s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_center_reindex_frame[False] > 0.32s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_with_reg_groups > 0.24s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_time_rule_frame[False] > 0.18s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_frame[False] > 0.12s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_with_timegrouper > 0.07s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_apply_timegrouper_with_nat_apply_squeeze > 0.07s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_center_reindex_series[False] > 0.06s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_min_periods[False-None-0] > 0.06s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_min_periods[False-1-0] > 0.05s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_nans[False] > 0.04s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_time_rule_frame[True] > 0.04s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_center_reindex_frame[True] > 0.04s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_get_group > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_min_periods[False-2-0] > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_with_reg_groups_freq[A] > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_with_reg_groups_freq[D] > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_with_reg_groups_freq[M] > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_groups_datetimeindex_tz > 0.03s setup > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_apply_timegrouper_with_nat_dict_returns > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_timegrouper_with_reg_groups_freq[Q-APR] > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_datetime_count > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_groups_datetimeindex > 0.03s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_time_rule_series[False] > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_multi_timezone > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_consistency_var_debiasing_factors[all_data15-0] > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_with_timegrouper_methods[True] > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py::test_center[False] > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py::TestGroupBy::test_groupby_groups_periods > 0.02s call > .pybuild/cpython3_3.11/build/pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_consistency_var_debiasing_factors[all_data13-0] > 0.02s setup > .pybuild/cpython3_3.11/build/pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_consistency_var_debiasing_factors[all_data15-0] > =========================== short test summary info > ============================ > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data1-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data5-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data5-2-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data6-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data6-2-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data7-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data7-2-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data11-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data15-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data15-2-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data16-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data16-2-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data17-0-sum] > FAILED > pandas/tests/window/moments/test_moments_consistency_expanding.py::test_expanding_apply_consistency_sum_nans[all_data17-2-sum] > ================ 14 failed, 469 passed, 1384 skipped in 37.84s > ================= > E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: > TEST_SUCCESS=true; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build ; for > TEST_SUBSET in /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/* ; > do PANDAS_CI=1 LOCALE_OVERRIDE=C xvfb-run -a -s "-screen 0 1280x1024x24 > -noreset" python3.11 -m pytest -s -m "not network" -k "not > test_register_entrypoint and not test_wrong_url and not test_statsmodels" > --confcutdir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas > --deb-data-root-dir=/<<PKGBUILDDIR>>/pandas/tests --strict-data-files > $TEST_SUBSET || test $? = 5 || TEST_SUCCESS=false && echo "rdjoqkol test > state = $TEST_SUCCESS"; done ; PANDAS_CI=1 LOCALE_OVERRIDE=C python3.11 -m > pytest -s -m "not network" --forked --runxfail > --confcutdir=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas > --deb-data-root-dir=/<<PKGBUILDDIR>>/pandas/tests --strict-data-files > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/groupby/test_numba.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/groupby/test_timegrouper.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/groupby/transform/test_numba.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/groupby/aggregate/test_numba.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/window/test_numba.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/window/test_apply.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/window/test_online.py > > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/pandas/tests/window/moments/test_moments_consistency_expanding.py > || true ; rm -f test-data.xml ; $TEST_SUCCESS > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2023/02/16/pandas_1.5.3+dfsg-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&fusertaguser=lu...@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.