Debian Patches

Status for statsmodels/0.15.0+dfsg-1

Patch Description Author Forwarded Bugs Origin Last update
use_cached_datasets.patch Use cached datasets in tests and examples
Also remove a download that isn't actually used in that example.

This allows the tests to pass, and at least some of the examples to
be built, in an offline environment such as a Debian buildd.

The cached data is extracted from R packages by debian/datasets/*.
Diane Trout <diane@ghic.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
use_system_inventory.patch Use intersphinx inventory files from other Debian packages. Diane Trout <diane@ghic.org>, Rebecca N. Palmer not-needed
use_available_data.patch Use example data from an R package we have Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
i386_loosen_test_tolerances.patch Loosen tolerances on some tests on i386
and xfail a test that fails for not producing ConvergenceWarning.

Failure logs:
test_smoothing
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.9.0-3&stamp=1567157609&raw=0
test_multivariate_switch_univariate
https://buildd.debian.org/status/fetch.php?pkg=statsmodels&arch=i386&ver=0.12.0-1&stamp=1599693472&raw=0
TestMixedLM.test_compare_numdiff
salsa-ci for 0.14.2-1

As it only fails on i386 and isn't far wrong,
I suspect different rounding due to x87 excess precision
Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
python3_shebangs.patch Use Python 3 in script shebangs
(Skipping the two .pyx files with #!python - they need to be compiled
with Cython, not directly run with any version of plain Python)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
use_tmp_path.patch Don"t try to write to the source directory
Not allowed in autopkgtest
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
sphinx_reproducibility_and_ignore_errors.patch Be reproducible, and don't fail on examples exceptions
Don't execute example notebooks because some of them
have unreproducible output, either numerical differences (small
enough that I guess them to be machine-dependent rounding error
not deliberate randomness) or extra cells (a single newline
being split into its own cell vs part of the previous one).
Copy them instead.

At one point these 10 were affected, but skipping just them doesn't
work because it seems 'random' which ones have the extra cells.
count_hurdle
discrete_choice_example
discrete_choice_overview
exponential_smoothing (and its images 14_0 and 16_0)
generic_mle
glm_formula
glm_weights
postestimation_poisson
stats_poisson
treatment_effect

Also remove timestamps, ipykernel IDs, etc from examples output
for reproducibility. (This is here not in debian/rules to do it
before building the search index.)

Skip some vector_ar cells that would print <type at address>
output (that would end up in the search index, so
stripping it afterwards isn't enough).
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
sphinx_local_requirejs.patch Use local requirejs/mathjax Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
xfail_no_multiprocessing.patch Allow tests to fail if multiprocessing is not available
This is currently the case on hurd-i386
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
remove_ccbysa_snippet.patch Remove code from Stack Overflow and wasteful loop
Stack Overflow content is CC-BY-SA licensed,
which this package is not supposed to be. This snippet may be
too small to be copyrightable, but removing it to be safe.
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
997081_xfail.patch Xfail / increase tolerance on tests
TestMICE and test_mixedlm vary enough with the random state, and
corrpsd is close enough to 0, that this is plausibly a rounding non-bug
Rebecca N. Palmer <rebecca_palmer@zoho.com> yes debian
xfail_i386_ets.patch test_seasonal_order fails on i386
Warn on use and xfail
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
1030208_scipy1p10.patch Avoid cast exception in np.bincount Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
test_corr_nearest_factor_sparse_ignore_nonconverge.patch Ignore a known failure to converge
(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, in 0.14.0 on armel,
and in 0.14.6 on amd64; also known upstream.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

(upstream 15f574d also ignores it)
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
xfail_out_of_memory.patch Allow a memory-heavy test to run out of memory
Failed in 0.14.0 on armel,armhf,mipsel (but not i386)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
fix_random_seeds.patch Fix random seeds for reproducibility Rebecca N. Palmer <rebecca_palmer@zoho.com> no
xfail_dynamic_factor_news_bigendian.patch Ignore test exception on big-endian systems
failed in 0.14.1+dfsg-1
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
1079789_ignore_arm64_nonconvergence.patch Ignore a non-converging test
(it currently does warn about possible non-convergence and
it would be better to check that it does so)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
test_power_ignore_exception.patch Ignore errors (but not wrong results) of solve_power
scipy.special.nctdtr returns NaN when rounding would otherwise make
the result out of bounds: https://github.com/scipy/scipy/issues/25470

This has only been seen to fail the statsmodels test on armhf,
but the underlying issue also exists on amd64
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
no_pytest_randomly.patch Don't try to use pytest-randomly, which we don't have Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
fix_test_knockoff.patch Add missing parameter to knockoff_sdp test Rebecca N. Palmer <rebecca_palmer@zoho.com> no

All known versions for source package 'statsmodels'

Links