mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-scikit-learn: Update to 1.0.1.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.0.1. [arguments]: Disable one failing network test.
This commit is contained in:
parent
3d56b8af90
commit
b182e13638
1 changed files with 5 additions and 3 deletions
|
@ -926,7 +926,7 @@ (define-public dlib
|
|||
(define-public python-scikit-learn
|
||||
(package
|
||||
(name "python-scikit-learn")
|
||||
(version "0.24.2")
|
||||
(version "1.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -936,7 +936,7 @@ (define-public python-scikit-learn
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0hm92biqwwc87bqnr56lwa5bz77lr7k9q21rdwksnfzq3vsdp2nm"))))
|
||||
"07k92y78sk4074vh5hp8y63pwl592wgl8azrfp0q84chxk8igfx9"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
@ -952,7 +952,9 @@ (define-public python-scikit-learn
|
|||
;; Some tests require write access to $HOME.
|
||||
(setenv "HOME" "/tmp")
|
||||
|
||||
(invoke "pytest" "sklearn" "-m" "not network"))))
|
||||
(invoke "pytest" "sklearn" "-m" "not network"
|
||||
;; This test tries to access the internet.
|
||||
"-k" "not test_load_boston_alternative"))))
|
||||
(add-before 'reset-gzip-timestamps 'make-files-writable
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Make sure .gz files are writable so that the
|
||||
|
|
Loading…
Reference in a new issue