diff mbox series

[bug#39899] gnu: Update python-scikit-learn to 0.22.1.

Message ID 7069e722189525c2535bffc563cb1e3a844d4c29.camel@gnu.org
State Accepted
Headers show
Series [bug#39899] gnu: Update python-scikit-learn to 0.22.1. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch fail View Laminar job

Commit Message

Roel Janssen March 4, 2020, 11:56 a.m. UTC
Dear Guix,

I'd like to update python-scikit-learn to 0.22.1.
The attached patch does that.

Kind regards,
Roel Janssen

Comments

Ludovic Courtès March 6, 2020, 9:17 a.m. UTC | #1
Hi,

Roel Janssen <roel@gnu.org> skribis:

> From 37a32df3250b335c9c987632c8471c0b26b357c5 Mon Sep 17 00:00:00 2001
> From: Roel Janssen <roel@gnu.org>
> Date: Wed, 4 Mar 2020 12:52:55 +0100
> Subject: [PATCH] gnu: Update python-scikit-learn to 0.22.1.
>
> * gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.22.1;
>   Add python-joblib to native-inputs to run the test suite.

LGTM, thanks!  :-)

Ludo’.
Roel Janssen March 6, 2020, 10:05 a.m. UTC | #2
On Fri, 2020-03-06 at 10:17 +0100, Ludovic Courtès wrote:
> Hi,
> 
> Roel Janssen <roel@gnu.org> skribis:
> 
> > From 37a32df3250b335c9c987632c8471c0b26b357c5 Mon Sep 17 00:00:00
> > 2001
> > From: Roel Janssen <roel@gnu.org>
> > Date: Wed, 4 Mar 2020 12:52:55 +0100
> > Subject: [PATCH] gnu: Update python-scikit-learn to 0.22.1.
> > 
> > * gnu/packages/machine-learning.scm (python-scikit-learn): Update
> > to 0.22.1;
> >   Add python-joblib to native-inputs to run the test suite.
> 
> LGTM, thanks!  :-)
> 
> Ludo’.
> 

Pushed in 83a483aac7357073c20fc2e3fe6f234e9cb119b1.  Thanks!

Kind regards,
Roel Janssen
diff mbox series

Patch

From 37a32df3250b335c9c987632c8471c0b26b357c5 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Wed, 4 Mar 2020 12:52:55 +0100
Subject: [PATCH] gnu: Update python-scikit-learn to 0.22.1.

* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.22.1;
  Add python-joblib to native-inputs to run the test suite.
---
 gnu/packages/machine-learning.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 8262a418cc..3f4de8e6f7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -798,7 +798,7 @@  computing environments.")
 (define-public python-scikit-learn
   (package
     (name "python-scikit-learn")
-    (version "0.20.4")
+    (version "0.22.1")
     (source
      (origin
        (method git-fetch)
@@ -808,7 +808,7 @@  computing environments.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "08zbzi8yx5wdlxfx9jap61vg1malc9ajf576w7a0liv6jvvrxlpj"))))
+         "1xqxv210gsmjw094vc5ghq2y9lmm74qkk22pq6flcjzj51b86jxf"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -835,7 +835,8 @@  computing environments.")
     (inputs
      `(("openblas" ,openblas)))
     (native-inputs
-     `(("python-pytest" ,python-pytest)
+     `(("python-joblib" ,python-joblib)
+       ("python-pytest" ,python-pytest)
        ("python-pandas" ,python-pandas) ;for tests
        ("python-cython" ,python-cython)))
     (propagated-inputs
-- 
2.25.1