aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-20 15:36:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-11-20 16:22:53 +0100
commitb182e136384725ffafaa2c5e344ffc2135021c68 (patch)
treef3bc712b061d943d996e862b38be41cd04b2bdd6
parent3d56b8af9046c056e68955ce4d929f18d796e33a (diff)
downloadguix-b182e136384725ffafaa2c5e344ffc2135021c68.tar
guix-b182e136384725ffafaa2c5e344ffc2135021c68.tar.gz
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.
-rw-r--r--gnu/packages/machine-learning.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index d51bf63473..2dcfa0516f 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -926,7 +926,7 @@ computing environments.")
(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 @@ computing environments.")
(file-name (git-file-name name version))
(sha256
(base32
- "0hm92biqwwc87bqnr56lwa5bz77lr7k9q21rdwksnfzq3vsdp2nm"))))
+ "07k92y78sk4074vh5hp8y63pwl592wgl8azrfp0q84chxk8igfx9"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -952,7 +952,9 @@ computing environments.")
;; 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