summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-02 18:31:38 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-02 18:31:38 +0100
commitf28f5be11d6849fcd2852913731dd750d18fd123 (patch)
tree4fba6bc6ef2e3b4621a9ce0496164c600adb81a7 /gnu
parent31d372cd8a727008a2205e428d50d0e160659066 (diff)
gnu: python2-statsmodels: Downgrade to 0.9.0.
* gnu/packages/statistics.scm (python2-statsmodels): Downgrade to 0.9.0.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 71b36f07c5..cf7a64ec7a 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)