[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: python2-statsmodels: Downgrade to 0.9.0.
From: |
guix-commits |
Subject: |
02/04: gnu: python2-statsmodels: Downgrade to 0.9.0. |
Date: |
Thu, 2 Dec 2021 12:50:12 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit f28f5be11d6849fcd2852913731dd750d18fd123
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 2 18:31:38 2021 +0100
gnu: python2-statsmodels: Downgrade to 0.9.0.
* gnu/packages/statistics.scm (python2-statsmodels): Downgrade to 0.9.0.
---
gnu/packages/statistics.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 71b36f0..cf7a64e 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -1998,6 +1998,16 @@ inference for statistical models.")
(define-public python2-statsmodels
(let ((stats (package-with-python2 python-statsmodels)))
(package/inherit stats
+ ;; Version 0.11.1 and later does not work with Python 2. It may build
+ ;; fine but loading modules fails.
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "statsmodels" version))
+ (sha256
+ (base32
+ "0fxs8a7sp4d7jvqlm36yi45i2d28kjfvraf9q8i9jr1chhxgjqb4"))))
(propagated-inputs
`(("python2-pytz" ,python2-pytz)
("python2-numpy" ,python2-numpy)