guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: python-scikit-learn: Update to 1.0.1.


From: guix-commits
Subject: 04/04: gnu: python-scikit-learn: Update to 1.0.1.
Date: Sat, 20 Nov 2021 10:23:30 -0500 (EST)

rekado pushed a commit to branch core-updates-frozen
in repository guix.

commit b182e136384725ffafaa2c5e344ffc2135021c68
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Nov 20 15:36:29 2021 +0100

    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.
---
 gnu/packages/machine-learning.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index d51bf63..2dcfa05 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]