statsmodels.git
3 years agoAvoid NaN crash in test_structural
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Avoid NaN crash in test_structural

Out-of-range frequency.cycle starting values make untransform_params return NaN,
which crashes summary()

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_test_bounds.patch

3 years agoDon't fail documentation build on examples exceptions
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Don't fail documentation build on examples exceptions

If example code outputs an error when run,
ipython (ipython:: blocks) now fails the whole build by default,
and tools/nbgenerate.py (.ipynb files) now leaves out that file
(leaving a broken link in the examples index).

As some examples use downloaded data and are hence expected to be
unrunnable on a Debian buildd, this instead keeps them
(::ipython with error output, .ipynb without output).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_ignore_errors.patch

3 years agoDon't try to use a theme we don't have
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Don't try to use a theme we don't have

Upstream switched to sphinx_material in
1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe
and Debian doesn't have that theme.

(I haven't investigated packaging it, which might be a better long-term option.)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed (except maybe the version fix? or is that no longer needed at all?)

Gbp-Pq: Name no_sphinx_material.patch

3 years agoMake the module reference tables appear
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Make the module reference tables appear

Our numpydoc is old enough to still need this manually set

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/numpy/numpydoc/issues/141
Forwarded: not-needed

Gbp-Pq: Name sphinx_autosummary.patch

3 years agoXfail or loosen tolerances on flaky tests
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Xfail or loosen tolerances on flaky tests

The test_nondiagonal_obs_cov one hasn't yet been seen in Debian
but is known in upstream CI:
https://github.com/statsmodels/statsmodels/pull/6475#issuecomment-581151072

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>, Graham Inggs
Bug-Debian: https://bugs.debian.org/944054
Forwarded: no

Gbp-Pq: Name 944054_flaky_tests.patch

3 years agoDon't try to write to the source directory
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Don't try to write to the source directory

Not allowed in autopkgtest

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name use_tmp_path.patch

3 years agoUse Python 3 in script shebangs
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python3_shebangs.patch

3 years agoLoosen tolerances on some tests on i386
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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

As it only fails on i386 and isn't far wrong,
I suspect different rounding due to x87 excess precision

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/938949
Forwarded: no

Gbp-Pq: Name i386_loosen_test_tolerances.patch

3 years agoUse example data from an R package we have
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Use example data from an R package we have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use_available_data.patch

3 years agoKalmanFilter broken on armhf / hppa
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
KalmanFilter broken on armhf / hppa

Warn on use, and xfail the tests

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/924036
Bug-Ubuntu: https://launchpad.net/bugs/1819227
Forwarded: no

Gbp-Pq: Name xfail_kalman_armhf.patch

3 years agoUse intersphinx inventory files from other Debian packages.
Diane Trout [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Use intersphinx inventory files from other Debian packages.

Forwarded: not-needed

Gbp-Pq: Name use-system-inventory

3 years agoto prevent failed test on i386
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
to prevent failed test on i386

Author: Yaroslav Halchenko <debian@onerussian.com>
Bug: https://github.com/statsmodels/statsmodels/issues/1831
Forwarded: upstream consider this probably fixed

Gbp-Pq: Name up_reduce_test_precision

3 years agoUse cached datasets in tests and examples
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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/*.

Author: Diane Trout <diane@ghic.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name use-cached-datasets

3 years agostatsmodels (0.13.1+dfsg-5) unstable; urgency=medium
Rebecca N. Palmer [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
statsmodels (0.13.1+dfsg-5) unstable; urgency=medium

  * Warn on import and ignore (crashing) tests on armel (see #968210).

[dgit import unpatched statsmodels 0.13.1+dfsg-5]

3 years agoImport statsmodels_0.13.1+dfsg-5.debian.tar.xz
Rebecca N. Palmer [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Import statsmodels_0.13.1+dfsg-5.debian.tar.xz

[dgit import tarball statsmodels 0.13.1+dfsg-5 statsmodels_0.13.1+dfsg-5.debian.tar.xz]

4 years agoImport statsmodels_0.13.1+dfsg.orig.tar.xz
Rebecca N. Palmer [Sun, 28 Nov 2021 16:30:27 +0000 (16:30 +0000)]
Import statsmodels_0.13.1+dfsg.orig.tar.xz

[dgit import orig statsmodels_0.13.1+dfsg.orig.tar.xz]