gnu: python-scikit-learn: Update to 0.24.2.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.24.2. [arguments]: Remove trailing #t.
This commit is contained in:
parent
d3364b9c37
commit
c9aee89abf
1 changed files with 4 additions and 5 deletions
|
@ -941,7 +941,7 @@ (define-public dlib
|
|||
(define-public python-scikit-learn
|
||||
(package
|
||||
(name "python-scikit-learn")
|
||||
(version "0.24.1")
|
||||
(version "0.24.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -951,13 +951,13 @@ (define-public python-scikit-learn
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0dd854hi9h81pa3y6gwa6r4qjwrwq5fndi312h6dkqzfh7jbvgvd"))))
|
||||
"0hm92biqwwc87bqnr56lwa5bz77lr7k9q21rdwksnfzq3vsdp2nm"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-ext
|
||||
(lambda _ (invoke "python" "setup.py" "build_ext" "--inplace") #t))
|
||||
(lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; Restrict OpenBLAS threads to prevent segfaults while testing!
|
||||
|
@ -973,8 +973,7 @@ (define-public python-scikit-learn
|
|||
;; 'reset-gzip-timestamps' phase can do its work.
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(for-each make-file-writable
|
||||
(find-files out "\\.gz$"))
|
||||
#t))))))
|
||||
(find-files out "\\.gz$"))))))))
|
||||
(inputs
|
||||
`(("openblas" ,openblas)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue