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.
parent
d3364b9c37
commit
c9aee89abf
|
@ -941,7 +941,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.24.1")
|
(version "0.24.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -951,13 +951,13 @@ computing environments.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0dd854hi9h81pa3y6gwa6r4qjwrwq5fndi312h6dkqzfh7jbvgvd"))))
|
"0hm92biqwwc87bqnr56lwa5bz77lr7k9q21rdwksnfzq3vsdp2nm"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'build 'build-ext
|
(add-after 'build 'build-ext
|
||||||
(lambda _ (invoke "python" "setup.py" "build_ext" "--inplace") #t))
|
(lambda _ (invoke "python" "setup.py" "build_ext" "--inplace")))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Restrict OpenBLAS threads to prevent segfaults while testing!
|
;; Restrict OpenBLAS threads to prevent segfaults while testing!
|
||||||
|
@ -973,8 +973,7 @@ computing environments.")
|
||||||
;; 'reset-gzip-timestamps' phase can do its work.
|
;; 'reset-gzip-timestamps' phase can do its work.
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(for-each make-file-writable
|
(for-each make-file-writable
|
||||||
(find-files out "\\.gz$"))
|
(find-files out "\\.gz$"))))))))
|
||||||
#t))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
`(("openblas" ,openblas)))
|
`(("openblas" ,openblas)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue