summary refs log tree commit diff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2365149fad..990f2fc132 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1331,7 +1331,8 @@ building design matrices.")
                            "s/statsmodels/statsmodels-" version ".tar.gz"))
        (sha256
         (base32
-         "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy"))))
+         "0xn67sqr0cc1lmlhzm71352hrb4hw7g318p5ff5q97pc98vl8kmy"))
+       (patches (search-patches "python-statsmodels-fix-tests.patch"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1375,7 +1376,8 @@ inference for statistical models.")
   (let ((stats (package-with-python2 python-statsmodels)))
     (package (inherit stats)
       (propagated-inputs
-       `(("python2-numpy" ,python2-numpy)
+       `(("python2-pytz" ,python2-pytz)
+         ("python2-numpy" ,python2-numpy)
          ("python2-scipy" ,python2-scipy)
          ("python2-pandas" ,python2-pandas)
          ("python2-patsy" ,python2-patsy)