aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-02-19 23:24:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-02-19 23:24:05 +0100
commit96193caaa14e575cc2917d0fd7ca8c7499109635 (patch)
tree90aa2a12dcf4e28d8ddaa613812cf199e1dd910b
parent15c0cc4aa2bc27145c29a5ebb9a0387866d01826 (diff)
downloadguix-96193caaa14e575cc2917d0fd7ca8c7499109635.tar.gz
guix-96193caaa14e575cc2917d0fd7ca8c7499109635.zip
gnu: python-scikit-learn: Update to 0.24.1.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.24.1. [propagated-inputs]: Add python-threadpoolctl. (python2-scikit-learn)[inputs,native-inputs,propagated-inputs]: Do not inherit these fields.
-rw-r--r--gnu/packages/machine-learning.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 4e35e3e369..2696deec13 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
@@ -802,7 +802,7 @@ computing environments.")
(define-public python-scikit-learn
(package
(name "python-scikit-learn")
- (version "0.22.1")
+ (version "0.24.1")
(source
(origin
(method git-fetch)
@@ -812,7 +812,7 @@ computing environments.")
(file-name (git-file-name name version))
(sha256
(base32
- "1xqxv210gsmjw094vc5ghq2y9lmm74qkk22pq6flcjzj51b86jxf"))))
+ "0dd854hi9h81pa3y6gwa6r4qjwrwq5fndi312h6dkqzfh7jbvgvd"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -844,6 +844,7 @@ computing environments.")
("python-cython" ,python-cython)))
(propagated-inputs
`(("python-numpy" ,python-numpy)
+ ("python-threadpoolctl" ,python-threadpoolctl)
("python-scipy" ,python-scipy)
("python-joblib" ,python-joblib)))
(home-page "https://scikit-learn.org/")
@@ -869,7 +870,17 @@ data analysis.")
(file-name (git-file-name "python-scikit-learn" version))
(sha256
(base32
- "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj")))))))
+ "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj"))))
+ (inputs
+ `(("openblas" ,openblas)))
+ (native-inputs
+ `(("python2-pytest" ,python2-pytest)
+ ("python2-pandas" ,python2-pandas) ;for tests
+ ("python2-cython" ,python2-cython)))
+ (propagated-inputs
+ `(("python2-numpy" ,python2-numpy)
+ ("python2-scipy" ,python2-scipy)
+ ("python2-joblib" ,python2-joblib))))))
(define-public python-threadpoolctl
(package