From f28f5be11d6849fcd2852913731dd750d18fd123 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 2 Dec 2021 18:31:38 +0100 Subject: [PATCH] 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 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)