mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
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:
parent
15c0cc4aa2
commit
96193caaa1
1 changed files with 15 additions and 4 deletions
|
@ -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 @@ (define-public dlib
|
|||
(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 @@ (define-public python-scikit-learn
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1xqxv210gsmjw094vc5ghq2y9lmm74qkk22pq6flcjzj51b86jxf"))))
|
||||
"0dd854hi9h81pa3y6gwa6r4qjwrwq5fndi312h6dkqzfh7jbvgvd"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
@ -844,6 +844,7 @@ (define-public python-scikit-learn
|
|||
("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 @@ (define-public python2-scikit-learn
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue