Bug#1141040: statsmodels: FTBFS: ERROR collecting stats/tests/test_moment_helpers.py
Santiago Vila
sanvila at debian.org
Sun Jun 28 21:52:56 BST 2026
Package: src:statsmodels
Version: 0.14.6+dfsg-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202606/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:statsmodels, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# dh_auto_clean would try to run setup.py clean, which fails with a message saying to use git clean instead
# we can't do that because the buildds don't get a git repo
rm -rf cythonize.dat \
*.egg-info \
*.png \
.pybuild \
.pytest_cache \
build \
docs/build/ \
docs/rehab.table \
docs/salary.table \
[... snipped ...]
copying images... [ 42%] ../build/doctrees/nbsphinx/examples_notebooks_generated_influence_glm_logit_9_0.png
copying images... [ 42%] ../build/doctrees/nbsphinx/examples_notebooks_generated_influence_glm_logit_10_0.png
copying images... [ 42%] ../build/doctrees/nbsphinx/examples_notebooks_generated_influence_glm_logit_11_0.png
copying images... [ 43%] ../build/doctrees/nbsphinx/examples_notebooks_generated_influence_glm_logit_12_0.png
copying images... [ 43%] ../build/doctrees/nbsphinx/examples_notebooks_generated_lowess_4_0.png
copying images... [ 43%] ../build/doctrees/nbsphinx/examples_notebooks_generated_lowess_7_0.png
copying images... [ 44%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_4_0.png
copying images... [ 44%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_7_1.png
copying images... [ 44%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_15_1.png
copying images... [ 45%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_23_0.png
copying images... [ 45%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_25_0.png
copying images... [ 45%] ../build/doctrees/nbsphinx/examples_notebooks_generated_markov_regression_28_1.png
copying images... [ 46%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_13_0.png
copying images... [ 46%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_16_1.png
copying images... [ 46%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_20_2.png
copying images... [ 46%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_21_2.png
copying images... [ 47%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_28_1.png
copying images... [ 47%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_31_1.png
copying images... [ 47%] ../build/doctrees/nbsphinx/examples_notebooks_generated_metaanalysis1_32_1.png
copying images... [ 48%] ../build/doctrees/nbsphinx/examples_notebooks_generated_mixed_lm_example_40_1.png
copying images... [ 48%] ../build/doctrees/nbsphinx/examples_notebooks_generated_mixed_lm_example_42_0.png
copying images... [ 48%] ../build/doctrees/nbsphinx/examples_notebooks_generated_ols_18_1.png
copying images... [ 49%] ../build/doctrees/nbsphinx/examples_notebooks_generated_ols_26_0.png
copying images... [ 49%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_9_1.png
copying images... [ 49%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_13_0.png
copying images... [ 50%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_15_1.png
copying images... [ 50%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_20_0.png
copying images... [ 50%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_22_0.png
copying images... [ 51%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_24_0.png
copying images... [ 51%] ../build/doctrees/nbsphinx/examples_notebooks_generated_pca_fertility_factors_26_1.png
copying images... [ 51%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_7_1.png
copying images... [ 52%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_9_0.png
copying images... [ 52%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_10_0.png
copying images... [ 52%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_11_0.png
copying images... [ 53%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_12_0.png
copying images... [ 53%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_13_0.png
copying images... [ 53%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_14_0.png
copying images... [ 54%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_19_1.png
copying images... [ 54%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_20_1.png
copying images... [ 54%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_21_1.png
copying images... [ 54%] ../build/doctrees/nbsphinx/examples_notebooks_generated_plots_boxplots_22_1.png
copying images... [ 55%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_16_1.png
copying images... [ 55%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_34_1.png
copying images... [ 55%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_36_1.png
copying images... [ 56%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_40_0.png
copying images... [ 56%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_55_0.png
copying images... [ 56%] ../build/doctrees/nbsphinx/examples_notebooks_generated_postestimation_poisson_56_0.png
copying images... [ 57%] ../build/doctrees/nbsphinx/examples_notebooks_generated_predict_12_1.png
copying images... [ 57%] ../build/doctrees/nbsphinx/examples_notebooks_generated_quantile_regression_10_1.png
copying images... [ 57%] ../build/doctrees/nbsphinx/examples_notebooks_generated_quantile_regression_12_0.png
copying images... [ 58%] ../build/doctrees/nbsphinx/examples_notebooks_generated_quasibinomial_9_2.png
copying images... [ 58%] ../build/doctrees/nbsphinx/examples_notebooks_generated_quasibinomial_15_2.png
copying images... [ 58%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_diagnostics_13_0.png
copying images... [ 59%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_12_0.png
copying images... [ 59%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_16_0.png
copying images... [ 59%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_17_0.png
copying images... [ 60%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_21_0.png
copying images... [ 60%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_24_0.png
copying images... [ 60%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_26_0.png
copying images... [ 61%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_29_0.png
copying images... [ 61%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_32_0.png
copying images... [ 61%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_39_0.png
copying images... [ 62%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_40_0.png
copying images... [ 62%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_43_0.png
copying images... [ 62%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_45_0.png
copying images... [ 62%] ../build/doctrees/nbsphinx/examples_notebooks_generated_regression_plots_53_0.png
copying images... [ 63%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_0_18_1.png
copying images... [ 63%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_0_24_0.png
copying images... [ 63%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_9_1.png
copying images... [ 64%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_12_1.png
copying images... [ 64%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_15_1.png
copying images... [ 64%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_18_1.png
copying images... [ 65%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_21_1.png
copying images... [ 65%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_24_1.png
copying images... [ 65%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_27_1.png
copying images... [ 66%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_51_1.png
copying images... [ 66%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_63_1.png
copying images... [ 66%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_75_0.png
copying images... [ 67%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_76_0.png
copying images... [ 67%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_77_0.png
copying images... [ 67%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_78_0.png
copying images... [ 68%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_86_0.png
copying images... [ 68%] ../build/doctrees/nbsphinx/examples_notebooks_generated_robust_models_1_94_0.png
copying images... [ 68%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_9_0.png
copying images... [ 69%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_10_0.png
copying images... [ 69%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_18_0.png
copying images... [ 69%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_21_0.png
copying images... [ 70%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_22_0.png
copying images... [ 70%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_arma_0_27_0.png
copying images... [ 70%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_forecasting_3_1.png
copying images... [ 71%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_forecasting_20_0.png
copying images... [ 71%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_sarimax_faq_63_0.png
copying images... [ 71%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_sarimax_faq_65_0.png
copying images... [ 71%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_5_0.png
copying images... [ 72%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_7_1.png
copying images... [ 72%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_11_1.png
copying images... [ 72%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_14_1.png
copying images... [ 73%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_17_1.png
copying images... [ 73%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_21_0.png
copying images... [ 73%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_22_0.png
copying images... [ 74%] ../build/doctrees/nbsphinx/examples_notebooks_generated_statespace_seasonal_23_0.png
copying images... [ 74%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stationarity_detrending_adf_kpss_8_1.png
copying images... [ 74%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stationarity_detrending_adf_kpss_20_1.png
copying images... [ 75%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_6_0.png
copying images... [ 75%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_10_0.png
copying images... [ 75%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_11_0.png
copying images... [ 76%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_13_0.png
copying images... [ 76%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_15_0.png
copying images... [ 76%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_17_0.png
copying images... [ 77%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_19_0.png
copying images... [ 77%] ../build/doctrees/nbsphinx/examples_notebooks_generated_stl_decomposition_21_0.png
copying images... [ 77%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_8_1.png
copying images... [ 78%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_9_0.png
copying images... [ 78%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_18_0.png
copying images... [ 78%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_21_0.png
copying images... [ 79%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_22_0.png
copying images... [ 79%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_39_1.png
copying images... [ 79%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_42_0.png
copying images... [ 79%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_0_49_1.png
copying images... [ 80%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_arma_1_11_0.png
copying images... [ 80%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_dates_12_0.png
copying images... [ 80%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_filters_8_0.png
copying images... [ 81%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_filters_13_0.png
copying images... [ 81%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_filters_19_1.png
copying images... [ 81%] ../build/doctrees/nbsphinx/examples_notebooks_generated_tsa_filters_26_1.png
copying images... [ 82%] ../build/doctrees/nbsphinx/examples_notebooks_generated_wls_15_1.png
copying images... [ 82%] ../build/plot_directive/plots/graphics_regression_ceres_residuals.png
copying images... [ 82%] ../build/plot_directive/plots/graphics-mean_diff_plot.png
copying images... [ 83%] ../build/plot_directive/plots/graphics_boxplot_beanplot.png
copying images... [ 83%] ../build/plot_directive/plots/graphics_boxplot_violinplot.png
copying images... [ 83%] ../build/plot_directive/plots/graphics_correlation_plot_corr.png
copying images... [ 84%] ../build/plot_directive/plots/graphics_correlation_plot_corr_grid.png
copying images... [ 84%] ../build/plot_directive/generated/statsmodels-graphics-factorplots-interaction_plot-1.png
copying images... [ 84%] ../build/plot_directive/plots/graphics_functional_fboxplot.png
copying images... [ 85%] ../build/plot_directive/plots/graphics_functional_hdrboxplot_00_00.png
copying images... [ 85%] ../build/plot_directive/plots/graphics_functional_rainbowplot.png
copying images... [ 85%] ../build/plot_directive/plots/graphics_gofplots_qqplot_00.png
copying images... [ 86%] ../build/plot_directive/plots/graphics_gofplots_qqplot_01.png
copying images... [ 86%] ../build/plot_directive/plots/graphics_gofplots_qqplot_02.png
copying images... [ 86%] ../build/plot_directive/plots/graphics_gofplots_qqplot_03.png
copying images... [ 87%] ../build/plot_directive/plots/graphics_gofplots_qqplot_qqline.png
copying images... [ 87%] ../build/plot_directive/plots/graphics_gofplots_qqplot_2samples.png
copying images... [ 87%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_00_00.png
copying images... [ 88%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_01_00.png
copying images... [ 88%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_02_00.png
copying images... [ 88%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_03_00.png
copying images... [ 88%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_04_00.png
copying images... [ 89%] ../build/plot_directive/plots/graphics_mosaicplot_mosaic_05_00.png
copying images... [ 89%] ../build/plot_directive/plots/graphics_plot_grids_scatter_ellipse.png
copying images... [ 89%] ../build/plot_directive/plots/graphics_regression_abline.png
copying images... [ 90%] ../build/plot_directive/plots/graphics_regression_influence.png
copying images... [ 90%] ../build/plot_directive/plots/graphics_regression_ccpr.png
copying images... [ 90%] ../build/plot_directive/plots/graphics_regression_ccpr_grid.png
copying images... [ 91%] ../build/plot_directive/plots/graphics_plot_fit_ex.png
copying images... [ 91%] ../build/plot_directive/plots/graphics_regression_leverage_resid2.png
copying images... [ 91%] ../build/plot_directive/plots/graphics_regression_partregress.png
copying images... [ 92%] ../build/plot_directive/plots/graphics_regression_partregress_grid.png
copying images... [ 92%] ../build/plot_directive/plots/graphics_regression_regress_exog.png
copying images... [ 92%] ../build/plot_directive/plots/graphics_tsa_month_plot.png
copying images... [ 93%] ../build/plot_directive/plots/graphics_tsa_plot_acf.png
copying images... [ 93%] ../build/plot_directive/plots/graphics_tsa_plot_pacf.png
copying images... [ 93%] ../build/plot_directive/plots/graphics_tsa_quarter_plot.png
copying images... [ 94%] ../build/plot_directive/plots/bkf_plot.png
copying images... [ 94%] ../build/plot_directive/plots/cff_plot.png
copying images... [ 94%] ../build/plot_directive/plots/hpf_plot.png
copying images... [ 95%] ../build/plot_directive/plots/mstl_plot.png
copying images... [ 95%] ../build/plot_directive/plots/stl_plot.png
copying images... [ 95%] savefig/gettingstarted_0.png
copying images... [ 96%] ../build/plot_directive/release/version0-6-1.png
copying images... [ 96%] images/aw.png
copying images... [ 96%] images/hl.png
copying images... [ 96%] images/ht.png
copying images... [ 97%] images/ls.png
copying images... [ 97%] images/re.png
copying images... [ 97%] images/tm.png
copying images... [ 98%] images/tk.png
copying images... [ 98%] savefig/var_plot_input.png
copying images... [ 98%] savefig/var_plot_acorr.png
copying images... [ 99%] savefig/var_forecast.png
copying images... [ 99%] savefig/var_irf.png
copying images... [ 99%] savefig/var_realgdp.png
copying images... [100%] savefig/var_irf_cum.png
copying images... [100%] savefig/var_fevd.png
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 636 warnings.
The HTML pages are in build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
mv docs/build/* build/
: # replace timestamps and build paths in examples output for reproducibility
for html in `find build/html examples -name _modules -prune -o -name "*.html" -o -name "*.ipynb" -o -name "*.ipynb.txt"` ; do \
sed -i -e 's#/<<PKGBUILDDIR>>/.pybuild/[^/]*/build/statsmodels/#/usr/lib/python3/dist-packages/statsmodels/#g' \
-e 's# at 0x[0-9a-f]\{8,16\}\(>\|>\)# at 0xadde5de1e8ed\1#g' \
-e 's#tmp/ipykernel_[0-9]\+#tmp/ipykernel_nnnnnnn#g' \
-e 's#^\s\+.\(iopub.execute_input\|iopub.status.busy\|iopub.status.idle\|shell.execute_reply\).:.*# #g' \
-e 's#\(Date:.*\)[A-Z][a-z]\+, \+[0-9]\+,\? \+[A-Z][a-z]\+,\? \+[0-9]\+#\1Thu, 18 Dec 2025#g' \
-e 's#\(Time:.*\)[0-9][0-9]:[0-9][0-9]:[0-9][0-9]#\107:37:30#g' ${html} ; \
done
sed: couldn't edit build/html/_modules: not a regular file
rm -rf docs/source/generated/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
TEST_SUCCESS=true ; cd tools && for testpy3ver in `py3versions -vs` ; do \
for testpath in ../.pybuild/*${testpy3ver}*/*/statsmodels ; do \
PYTHONPATH=${testpath}/.. python${testpy3ver} -m pytest -v ${testpath} || TEST_SUCCESS=false ; \
rm -rf ${testpath}/.pytest_cache ; \
done ; done ; ${TEST_SUCCESS}
============================= test session starts ==============================
platform linux -- Python 3.13.14, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3.13
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_statsmodels/build/statsmodels
configfile: setup.cfg
plugins: anyio-4.12.1, typeguard-4.4.4, forked-1.6.0
collecting ... collected 17964 items / 1 error
==================================== ERRORS ====================================
_____________ ERROR collecting stats/tests/test_moment_helpers.py ______________
Duplicate parametrization IDs detected, but strict_parametrization_ids is set.
Test name: stats/tests/test_moment_helpers.py::test_moment_conversion_types
Parameters: func_name
Parameter sets: ['cum2mc'], ['cum2mc'], ['mc2cum'], ['mc2mnc'], ['mc2mvsk'], ['mnc2cum'], ['mnc2mc'], ['mnc2mc'], ['mvsk2mc'], ['mvsk2mnc']
IDs: cum2mc, cum2mc, mc2cum, mc2mnc, mc2mvsk, mnc2cum, mnc2mc, mnc2mc, mvsk2mc, mvsk2mnc
Duplicates: cum2mc, mnc2mc
You can fix this problem using `@pytest.mark.parametrize(..., ids=...)` or `pytest.param(..., id=...)`.
=============================== warnings summary ===============================
../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: tools/tests/test_eval_measures.py::test_ic_equivalence, argvalues type: zip
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR ../.pybuild/cpython3_3.13_statsmodels/build/statsmodels/stats/tests/test_moment_helpers.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 6.92s ==========================
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3.14
cachedir: .pytest_cache
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_statsmodels/build/statsmodels
configfile: setup.cfg
plugins: anyio-4.12.1, typeguard-4.4.4, forked-1.6.0
collecting ... collected 17964 items / 1 error
==================================== ERRORS ====================================
_____________ ERROR collecting stats/tests/test_moment_helpers.py ______________
Duplicate parametrization IDs detected, but strict_parametrization_ids is set.
Test name: stats/tests/test_moment_helpers.py::test_moment_conversion_types
Parameters: func_name
Parameter sets: ['cum2mc'], ['cum2mc'], ['mc2cum'], ['mc2mnc'], ['mc2mvsk'], ['mnc2cum'], ['mnc2mc'], ['mnc2mc'], ['mvsk2mc'], ['mvsk2mnc']
IDs: cum2mc, cum2mc, mc2cum, mc2mnc, mc2mvsk, mnc2cum, mnc2mc, mnc2mc, mvsk2mc, mvsk2mnc
Duplicates: cum2mc, mnc2mc
You can fix this problem using `@pytest.mark.parametrize(..., ids=...)` or `pytest.param(..., id=...)`.
=============================== warnings summary ===============================
../../../../usr/lib/python3/dist-packages/_pytest/python.py:124
/usr/lib/python3/dist-packages/_pytest/python.py:124: PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
Test: tools/tests/test_eval_measures.py::test_ic_equivalence, argvalues type: zip
Please convert to a list or tuple.
See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR ../.pybuild/cpython3_3.14_statsmodels/build/statsmodels/stats/tests/test_moment_helpers.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 5.20s ==========================
make[1]: *** [debian/rules:105: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:31: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the debian-science-maintainers
mailing list