statsmodels.git
2 years agoDon't require a warning armel numpy doesn't have
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Don't require a warning armel numpy doesn't have

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)

Gbp-Pq: Name ignore_armel_nonwarning.patch

2 years agoAllow a memory-heavy test to run out of memory
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Allow a memory-heavy test to run out of memory

Failed in 0.14.0 on armel,armhf,mipsel (but not i386)

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

Gbp-Pq: Name xfail_out_of_memory.patch

2 years agoCopy another test reference directory into the build
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Copy another test reference directory into the build

The build-time tests fail if they can't find this

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

Gbp-Pq: Name add_missing_test_references.patch

2 years agoIgnore a failure to converge on mipsel and armel
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Ignore a failure to converge on mipsel and armel

(Seen to fail in 0.13.5+dfsg-5, twice on mipsel, and in 0.14.0 on armel.
Not a plain mark.xfail to not accept "converged" to the wrong answer.)

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

Gbp-Pq: Name mips_armel_ignore_nonconverge.patch

2 years agoAvoid cast exception in np.bincount
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Avoid cast exception in np.bincount

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

Gbp-Pq: Name 1030208_scipy1p10.patch

2 years agoIgnore missing HessianInversionWarning on some mips*
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Ignore missing HessianInversionWarning on some mips*

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

Gbp-Pq: Name mips_ignore_nonwarning.patch

2 years agoLoosen tolerance on a possibly unstable test
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Loosen tolerance on a possibly unstable test

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1020060 and 1014278
Forwarded: https://github.com/statsmodels/statsmodels/issues/8341

Gbp-Pq: Name 1020060_loosen_test_tolerance.patch

2 years agoAvoid test failure on mipsel
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Avoid test failure on mipsel

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

Gbp-Pq: Name 1014884_loosen_test_tolerances.patch

2 years agotest_seasonal_order fails on i386
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
test_seasonal_order fails on i386

Warn on use and xfail

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

Gbp-Pq: Name xfail_i386_ets.patch

2 years agoXfail / increase tolerance on tests
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/997081
Forwarded: https://github.com/statsmodels/statsmodels/issues/7911

Gbp-Pq: Name 997081_xfail.patch

2 years agoRemove code from Stack Overflow and wasteful loop
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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.

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

Gbp-Pq: Name remove_ccbysa_snippet.patch

2 years agoAllow tests to fail if multiprocessing is not available
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Allow tests to fail if multiprocessing is not available

This is currently the case on hurd-i386

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

Gbp-Pq: Name xfail_no_multiprocessing.patch

2 years agoFix typos
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Fix typos

Origin: lintian
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/statsmodels/statsmodels/issues/8932

Gbp-Pq: Name spelling.patch

2 years agoUse local requirejs/mathjax
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Use local requirejs/mathjax

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

Gbp-Pq: Name sphinx_local_requirejs.patch

2 years agoDon't fail documentation build on examples exceptions
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

2 years agoDon't try to use a theme we don't have
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Don't try to use a theme we don't have

Upstream switched to sphinx_material in
1d7aafad5c3ad634c9ae2122881c1809c2ccbcbe
and later to sphinx_immaterial; Debian doesn't have those themes.

(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

Gbp-Pq: Name no_sphinx_material.patch

2 years agoDon't try to write to the source directory
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

2 years agoUse Python 3 in script shebangs
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

2 years agoLoosen tolerances on some tests on i386
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

2 years agoUse example data from an R package we have
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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

2 years agoUse intersphinx inventory files from other Debian packages.
Diane Trout [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Use intersphinx inventory files from other Debian packages.

Forwarded: not-needed

Gbp-Pq: Name use_system_inventory.patch

2 years agoUse cached datasets in tests and examples
Debian Science Maintainers [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
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.patch

2 years agostatsmodels (0.14.0+dfsg-4) unstable; urgency=medium
Rebecca N. Palmer [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
statsmodels (0.14.0+dfsg-4) unstable; urgency=medium

  * clean: remove all generated files. (Closes: #1047280)
  * Stop build-depending on python3-setuptools-scm-git-archive.
    (Closes: #1050104)

[dgit import unpatched statsmodels 0.14.0+dfsg-4]

2 years agoImport statsmodels_0.14.0+dfsg-4.debian.tar.xz
Rebecca N. Palmer [Sat, 19 Aug 2023 20:59:16 +0000 (21:59 +0100)]
Import statsmodels_0.14.0+dfsg-4.debian.tar.xz

[dgit import tarball statsmodels 0.14.0+dfsg-4 statsmodels_0.14.0+dfsg-4.debian.tar.xz]

2 years agoImport statsmodels_0.14.0+dfsg.orig.tar.xz
Rebecca N. Palmer [Sun, 23 Jul 2023 11:01:09 +0000 (12:01 +0100)]
Import statsmodels_0.14.0+dfsg.orig.tar.xz

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