Raspbian automatic forward porter [Fri, 11 Feb 2022 08:34:46 +0000 (08:34 +0000)]
Merge version 0.12.2-2+rpi1 and 0.13.1+dfsg-5 to produce 0.13.1+dfsg-5+rpi1
Rebecca N. Palmer [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Merge statsmodels (0.13.1+dfsg-5) import into refs/heads/workingbranch
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Ignore test failures on arm64, warn on mips64el
arm64 - TestZeroInflatedModel_probit convergence issues
armel, mips64el - tests sometimes crash (ignored in d/rules)
Wrong answers have previously been seen on armel, and
could be hidden by the crash
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/968210
Forwarded: no
Gbp-Pq: Name 968210_ignore_tests.patch
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
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
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
DynamicFactor test fail on ppc64el and intermittently on armhf
Warn on use and xfail test
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_dynamicfactor_ppc64el.patch
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Markov* broken on armhf
Warn on use, and xfail tests
I suspect https://github.com/statsmodels/statsmodels/pull/5826
but that improved it enough on amd64 that
reverting it isn't a good solution.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_regimeswitching_armhf.patch
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Fix typos
Origin: lintian
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name spelling.patch
Debian Science Maintainers [Sun, 6 Feb 2022 19:08:08 +0000 (19:08 +0000)]
Use local requirejs/mathjax
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name sphinx_local_requirejs.patch
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
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]
Rebecca N. Palmer [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Merge statsmodels (0.13.1+dfsg-3) import into refs/heads/workingbranch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Ignore test failures on arm64, warn on mips64el
arm64 - TestZeroInflatedModel_probit convergence issues
mips64el - tests crash, hence
unknown whether there are any wrong answers (ignored in d/rules)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/968210
Forwarded: no
Gbp-Pq: Name 968210_ignore_tests.patch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
DynamicFactor test fail on ppc64el
Warn on use and xfail test
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_dynamicfactor_ppc64el.patch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Markov* broken on armhf
Warn on use, and xfail tests
I suspect https://github.com/statsmodels/statsmodels/pull/5826
but that improved it enough on amd64 that
reverting it isn't a good solution.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_regimeswitching_armhf.patch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Fix typos
Origin: lintian
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name spelling.patch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Use local requirejs/mathjax
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name sphinx_local_requirejs.patch
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Diane Trout [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Use intersphinx inventory files from other Debian packages.
Forwarded: not-needed
Gbp-Pq: Name use-system-inventory
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Debian Science Maintainers [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +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
Rebecca N. Palmer [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
statsmodels (0.13.1+dfsg-3) unstable; urgency=medium
* Warn on import and ignore (crashing) tests on mips64el,
and not on armel (see #968210).
* Remove obsolete rules code and nose test-depends.
[dgit import unpatched statsmodels 0.13.1+dfsg-3]
Rebecca N. Palmer [Fri, 17 Dec 2021 22:32:59 +0000 (22:32 +0000)]
Import statsmodels_0.13.1+dfsg-3.debian.tar.xz
[dgit import tarball statsmodels 0.13.1+dfsg-3 statsmodels_0.13.1+dfsg-3.debian.tar.xz]
Rebecca N. Palmer [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Merge statsmodels (0.13.1+dfsg-2) import into refs/heads/workingbranch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Ignore test failures on arm64, warn on armel
arm64 - TestZeroInflatedModel_probit convergence issues
armel - 21 crashes, 2 wrong answers (ignored in d/rules)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/968210
Forwarded: no (current form does not work on non-multiarch systems)
Gbp-Pq: Name 968210_ignore_tests.patch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
DynamicFactor test fail on ppc64el
Warn on use and xfail test
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_dynamicfactor_ppc64el.patch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Markov* broken on armhf
Warn on use, and xfail tests
I suspect https://github.com/statsmodels/statsmodels/pull/5826
but that improved it enough on amd64 that
reverting it isn't a good solution.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_regimeswitching_armhf.patch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Fix typos
Origin: lintian
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name spelling.patch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Use local requirejs/mathjax
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name sphinx_local_requirejs.patch
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Diane Trout [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Use intersphinx inventory files from other Debian packages.
Forwarded: not-needed
Gbp-Pq: Name use-system-inventory
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Debian Science Maintainers [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +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
Rebecca N. Palmer [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
statsmodels (0.13.1+dfsg-2) unstable; urgency=medium
* Docs: use *_path and symlinks for local JavaScript,
instead of (broken by CORS) sed replacements.
* Xfail another possible rounding issue on i386.
[dgit import unpatched statsmodels 0.13.1+dfsg-2]
Rebecca N. Palmer [Mon, 29 Nov 2021 22:05:33 +0000 (22:05 +0000)]
Import statsmodels_0.13.1+dfsg-2.debian.tar.xz
[dgit import tarball statsmodels 0.13.1+dfsg-2 statsmodels_0.13.1+dfsg-2.debian.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]
Raspbian automatic forward porter [Thu, 2 Sep 2021 21:25:26 +0000 (22:25 +0100)]
Merge version 0.12.2-1+rpi1 and 0.12.2-2 to produce 0.12.2-2+rpi1
Rebecca N. Palmer [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Merge statsmodels (0.12.2-2) import into refs/heads/workingbranch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Be compatible with scipy 1.7
Bug-Debian: https://bugs.debian.org/992691
Origin: upstream
42e377f87a7817f918a4e790b83fbe16064b4268 + part of
edd4296765d96b011532456bdf861c2e0ca8bc38 +
4f32f3990fbba0ee440af47e23a9354fdb7a0285
Author: Kevin "bashtage" Sheppard
Forwarded: not-needed
Gbp-Pq: Name scipy17_compat.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Ignore test failures on arm64, warn on armel
arm64 - TestZeroInflatedModel_probit convergence issues
armel - 21 crashes, 2 wrong answers (ignored in d/rules)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/968210
Forwarded: no (current form does not work on non-multiarch systems)
Gbp-Pq: Name 968210_ignore_tests.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
DynamicFactor test fail on ppc64el
Warn on use and xfail test
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_dynamicfactor_ppc64el.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Markov* broken on armhf
Warn on use, and xfail tests
I suspect https://github.com/statsmodels/statsmodels/pull/5826
but that improved it enough on amd64 that
reverting it isn't a good solution.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_regimeswitching_armhf.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Fix typos
Origin: lintian
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name spelling.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Use local requirejs
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name sphinx_local_requirejs.patch
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Loosen tolerances on some tests on i386
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Diane Trout [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Use intersphinx inventory files from other Debian packages.
Forwarded: not-needed
Gbp-Pq: Name use-system-inventory
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
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
Debian Science Maintainers [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +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
Rebecca N. Palmer [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
statsmodels (0.12.2-2) unstable; urgency=medium
* Fix test failures with scipy 1.7. Closes: #992681.
* README.source: update upstream branch name.
* Bump Standards-Version to 4.6.0 (no changes needed).
[dgit import unpatched statsmodels 0.12.2-2]
Rebecca N. Palmer [Sun, 29 Aug 2021 19:09:28 +0000 (20:09 +0100)]
Import statsmodels_0.12.2-2.debian.tar.xz
[dgit import tarball statsmodels 0.12.2-2 statsmodels_0.12.2-2.debian.tar.xz]
Raspbian automatic forward porter [Wed, 10 Feb 2021 14:02:05 +0000 (14:02 +0000)]
Merge version 0.12.1-2+rpi1 and 0.12.2-1 to produce 0.12.2-1+rpi1