guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/11: gnu: python-statsmodels: Update to 0.9.0.


From: guix-commits
Subject: 10/11: gnu: python-statsmodels: Update to 0.9.0.
Date: Mon, 3 Dec 2018 11:47:44 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit cee3d7136b18d322ba1b1aa6b1d4ec4217092fa1
Author: Marius Bakke <address@hidden>
Date:   Mon Dec 3 17:20:18 2018 +0100

    gnu: python-statsmodels: Update to 0.9.0.
    
    * gnu/packages/statistics.scm (python-statsmodels): Update to 0.9.0.
    [arguments]: Remove obsolete workaround.
---
 gnu/packages/statistics.scm | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 66f57ac..cc879be 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1876,14 +1876,14 @@ building design matrices.")
 (define-public python-statsmodels
   (package
     (name "python-statsmodels")
-    (version "0.8.0")
+    (version "0.9.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "statsmodels" version))
        (sha256
         (base32
-         "0j30v3932shnj9368c9jr3svkyrvfj90h2l7nxnqkbpv0svilhr6"))))
+         "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4"))))
     (build-system python-build-system)
     (arguments
      `(;; The test suite is very large and rather brittle.  Tests often fail
@@ -1902,18 +1902,7 @@ building design matrices.")
               (("import matplotlib\\.pyplot as plt" line)
                (string-append "import matplotlib;matplotlib.use('Agg');"
                               line)))
-            #t))
-         ;; FIXME: This is a bug in version 0.8 since the upgrade to scipy 1.0.
-         ;; See https://github.com/statsmodels/statsmodels/issues/3931
-         ;; This has been fixed in version 0.9.
-         (add-after 'unpack 'patch-for-scipy
-           (lambda _
-             (substitute* "statsmodels/discrete/discrete_model.py"
-               (("return stats.chisqprob" match)
-                (string-append
-                 "stats.chisqprob = lambda chisq, df: stats.chi2.sf(chisq, 
df);"
-                 match)))
-             #t)))))
+            #t)))))
     (propagated-inputs
      `(("python-numpy" ,python-numpy)
        ("python-scipy" ,python-scipy)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]