Package: statsmodels / 0.8.0-9~bpo9+1

Metadata

Package Version Patches format
statsmodels 0.8.0-9~bpo9+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use cached datasets | (download)

docs/source/contingency_tables.rst | 4 2 + 2 - 0 !
docs/source/datasets/index.rst | 2 1 + 1 - 0 !
docs/source/duration.rst | 4 2 + 2 - 0 !
docs/source/example_formulas.rst | 2 1 + 1 - 0 !
docs/source/gee.rst | 2 1 + 1 - 0 !
docs/source/gettingstarted.rst | 2 1 + 1 - 0 !
docs/source/index.rst | 2 1 + 1 - 0 !
docs/source/mixed_linear.rst | 2 1 + 1 - 0 !
docs/source/release/version0.6.rst | 2 1 + 1 - 0 !
examples/notebooks/markov_regression.ipynb | 6 1 + 5 - 0 !
examples/notebooks/mixed_lm_example.ipynb | 4 2 + 2 - 0 !
examples/notebooks/regression_diagnostics.ipynb | 3 1 + 2 - 0 !
12 files changed, 15 insertions(+), 20 deletions(-)

 use cached datasets for building documentation/examples

Also remove a download that isn't actually used in that example.

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

See debian/README.source for more information about the cached datasets.

deb_use_internal_ipythonsphinx_extensions | (download)

docs/source/conf.py | 23 19 + 4 - 0 !
1 file changed, 19 insertions(+), 4 deletions(-)

 use debian packaged iphythonsphinx extensions
 .
 Also drop matplotlib.sphinxext.only_directives which fail with
 python3-matplotlib and are not used


up_reduce_test_precision | (download)

statsmodels/emplike/tests/test_regression.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 to prevent failed test on i386

Bug: https://github.com/statsmodels/statsmodels/issues/1831
deb_skip_test_ons390 | (download)

statsmodels/discrete/tests/test_discrete.py | 3 3 + 0 - 0 !
statsmodels/multivariate/tests/test_pca.py | 6 4 + 2 - 0 !
2 files changed, 7 insertions(+), 2 deletions(-)

---
skip_tests_failing_due_to_panda_issue.patch | (download)

statsmodels/tools/tests/test_tools.py | 12 0 + 12 - 0 !
statsmodels/tsa/tests/test_tsa_tools.py | 74 0 + 74 - 0 !
statsmodels/tsa/vector_ar/tests/test_var.py | 8 0 + 8 - 0 !
3 files changed, 94 deletions(-)

 seems the tests are failing due to some problem in pandas
 which we can not fix here.  Ignore the issue for the moment to be able
 to drop severity of bug #868977 from serious to important


fix_numpydoc_issue.patch | (download)

statsmodels/genmod/families/family.py | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

  fix numpy doc input


use python3 for doc build | (download)

docs/Makefile | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use python3 to create documentation
Bug: https://github.com/statsmodels/statsmodels/pull/5348

use system inventory | (download)

docs/source/conf.py | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use intersphinx inventory files from other debian packages.
prevent_online_access_in_buildtime_tests.patch | (download)

statsmodels/datasets/tests/test_utils.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 do not try to access remote locations on buildtime test
Bug-Debian: https://bugs.debian.org/882641
no sphinx pngmath.patch | (download)

docs/source/conf.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 use mathjax instead of no-longer-existing pngmath

Either imgmath or mathjax fixes the FTBFS;
mathjax also makes TeX display as equations, i.e. fixes #687301

spelling.patch | (download)

examples/notebooks/regression_diagnostics.ipynb | 2 1 + 1 - 0 !
statsmodels/sandbox/nonparametric/smoothers.py | 2 1 + 1 - 0 !
statsmodels/sandbox/tsa/varma.py | 2 1 + 1 - 0 !
statsmodels/tsa/arima_model.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/_statespace.pyx.in | 2 1 + 1 - 0 !
5 files changed, 6 insertions(+), 6 deletions(-)

 fix spelling

privacy.patch | (download)

docs/themes/statsmodels/sidelinks.html | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't fetch twitter logo

python3_dataset_caching.patch | (download)

statsmodels/datasets/utils.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make the datasets cache work in python 3

Fixes URLError messages appearing in the built documentation

chisqprob.patch | (download)

statsmodels/discrete/discrete_model.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 stop using no-longer-existing chisqprob

Needed for compatibility with scipy >= 1.0

imputation_broadcasting.patch | (download)

statsmodels/imputation/mice.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix shape mismatch errors in mice imputation

numpy/pandas no longer allows assigning an nx1 2D value at a 1D index

gammaln_complex.patch | (download)

statsmodels/discrete/discrete_model.py | 12 10 + 2 - 0 !
1 file changed, 10 insertions(+), 2 deletions(-)

 don't use gammaln on complex input

In scipy >= 1.0, it rejects such input with
TypeError: ufunc 'gammaln' not supported for the input types, and the
inputs could not be safely coerced to any supported types according
to the casting rule ''safe''

co2_dataset_load.patch | (download)

statsmodels/datasets/co2/data.py | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 allow loading the co2 dataset in pandas >= 0.23

Fixes __new__() got an unexpected keyword argument 'format'

test_fixes.patch | (download)

statsmodels/discrete/tests/test_constrained.py | 2 1 + 1 - 0 !
statsmodels/formula/tests/test_formula.py | 7 1 + 6 - 0 !
statsmodels/iolib/tests/test_foreign.py | 5 0 + 5 - 0 !
statsmodels/nonparametric/tests/test_kde.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/tests/test_mlemodel.py | 2 1 + 1 - 0 !
statsmodels/tsa/statespace/tests/test_representation.py | 4 2 + 2 - 0 !
statsmodels/tsa/statespace/tests/test_tools.py | 2 1 + 1 - 0 !
7 files changed, 8 insertions(+), 18 deletions(-)

 make tests compatible with current numpy/scipy/pandas

These issues are all within test code, i.e. should not affect users.

https://github.com/statsmodels/statsmodels/commit/bb8fba9d4d9883be2991b43b29bfa3a9c3fb325a
https://github.com/statsmodels/statsmodels/commit/310f91da9f07d9483965d624d76dbb7abebbd67f
https://github.com/statsmodels/statsmodels/pull/4911/commits/18dcceefbfed61b0d11ae5884a9f4cea82c2edb5
https://github.com/statsmodels/statsmodels/commit/f1d5eddd44d61099a9f8f90c40c35716a8346cf7

and one new fix only needed on 32 bit Python 2 (integer data loads as
int64, which gets converted to long producing factor names like
C(agecat)[T.4L], which does not match C(agecat)[T.4])

unconstrain_stationary_multivariate.patch | (download)

statsmodels/tsa/statespace/tools.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 create a normal array, not an array of 1x1 arrays

Fixes "object arrays are not supported".

lutkepohl_data_load.patch | (download)

statsmodels/tsa/vector_ar/util.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't use np.genfromtxt on non-ascii data

Fixes UnicodeDecodeError on file e6.dat

examples_fixes.patch | (download)

docs/source/contingency_tables.rst | 2 1 + 1 - 0 !
examples/notebooks/discrete_choice_example.ipynb | 6 3 + 3 - 0 !
examples/notebooks/pca_fertility_factors.ipynb | 2 1 + 1 - 0 !
examples/notebooks/robust_models_1.ipynb | 11 6 + 5 - 0 !
4 files changed, 11 insertions(+), 10 deletions(-)

 fix errors in examples

Be compatible with current pandas
https://github.com/statsmodels/statsmodels/commit/66a4f98d0ac86ea957fa6f8168cc2df178c64630
https://github.com/statsmodels/statsmodels/commit/67415ad8d4c04dc1dd9ea9ebb1e059af92646c7b
https://github.com/statsmodels/statsmodels/commit/572d507dfa28044166cf4f183177a046f90934ae

and with one dataset layout change within statsmodels, based on
https://github.com/statsmodels/statsmodels/commit/31ec838d1eab2ec559ab69d42151085bdf9f18e1

Look in the correct path for star_diagram.png
(using this fix instead of
https://github.com/statsmodels/statsmodels/commit/3363ce1dc41b1717db5b6779a2a9cbf8f72a0294
to be minimally risky during freeze)

vector_ar_window_ols.patch | (download)

statsmodels/tsa/vector_ar/dynamic.py | 126 117 + 9 - 0 !
1 file changed, 117 insertions(+), 9 deletions(-)

 stop using no-longer-existing pd.ols

Fixes
module 'pandas' has no attribute 'ols'
e.g. in the vector_ar documentation examples.

kaplan_meier_860449.patch | (download)

statsmodels/sandbox/survival2.py | 28 15 + 13 - 0 !
1 file changed, 15 insertions(+), 13 deletions(-)

 fix indexing errors in kaplanmeier