Archived
1
0
Fork 0

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.
This commit is contained in:
Ricardo Wurmus 2021-02-19 23:24:05 +01:00
parent 15c0cc4aa2
commit 96193caaa1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; 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, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2016, 2017, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com> ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
@ -802,7 +802,7 @@ computing environments.")
(define-public python-scikit-learn (define-public python-scikit-learn
(package (package
(name "python-scikit-learn") (name "python-scikit-learn")
(version "0.22.1") (version "0.24.1")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -812,7 +812,7 @@ computing environments.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1xqxv210gsmjw094vc5ghq2y9lmm74qkk22pq6flcjzj51b86jxf")))) "0dd854hi9h81pa3y6gwa6r4qjwrwq5fndi312h6dkqzfh7jbvgvd"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -844,6 +844,7 @@ computing environments.")
("python-cython" ,python-cython))) ("python-cython" ,python-cython)))
(propagated-inputs (propagated-inputs
`(("python-numpy" ,python-numpy) `(("python-numpy" ,python-numpy)
("python-threadpoolctl" ,python-threadpoolctl)
("python-scipy" ,python-scipy) ("python-scipy" ,python-scipy)
("python-joblib" ,python-joblib))) ("python-joblib" ,python-joblib)))
(home-page "https://scikit-learn.org/") (home-page "https://scikit-learn.org/")
@ -869,7 +870,17 @@ data analysis.")
(file-name (git-file-name "python-scikit-learn" version)) (file-name (git-file-name "python-scikit-learn" version))
(sha256 (sha256
(base32 (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 (define-public python-threadpoolctl
(package (package