[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: python-scikit-learn: Update to 1.1.2.
From: |
guix-commits |
Subject: |
07/07: gnu: python-scikit-learn: Update to 1.1.2. |
Date: |
Wed, 14 Sep 2022 15:09:19 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 883d4e0abfaaaa707268d36f01976ed4c54381d8
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Sep 11 23:04:26 2022 +0200
gnu: python-scikit-learn: Update to 1.1.2.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 1.1.2.
---
gnu/packages/machine-learning.scm | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index c61428486c..0a12065978 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1097,7 +1097,7 @@ computing environments.")
(define-public python-scikit-learn
(package
(name "python-scikit-learn")
- (version "1.0.2")
+ (version "1.1.2")
(source
(origin
(method git-fetch)
@@ -1107,7 +1107,7 @@ computing environments.")
(file-name (git-file-name name version))
(sha256
(base32
- "1rli53544vlsnmx4v4xcb8fdqcy5n3zksl4plwp76gsmrppb2lig"))))
+ "0wcngyfm2fl3vgyi2aq6j5fvky5185xjzgip64968wqj1hmir5nv"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -1128,10 +1128,14 @@ computing environments.")
;; Some tests require write access to $HOME.
(setenv "HOME" "/tmp")
- (invoke "pytest" "sklearn" "-m" "not network"
- "-n" (number->string (parallel-job-count))
- ;; This test tries to access the internet.
- "-k" "not test_load_boston_alternative")))))))
+ ;; Step out of the source directory to avoid interference;
+ ;; we want to run the installed code with extensions etc.
+ (with-directory-excursion "/tmp"
+ (invoke "pytest" "-vv" "--pyargs" "sklearn"
+ "-m" "not network"
+ "-n" (number->string (parallel-job-count))
+ ;; This test tries to access the internet.
+ "-k" "not test_load_boston_alternative"))))))))
(inputs (list openblas))
(native-inputs
(list python-cython
- branch master updated (cad4b0cc07 -> 883d4e0abf), guix-commits, 2022/09/14
- 02/07: gnu: python-afdko: Remove generated code., guix-commits, 2022/09/14
- 05/07: gnu: python-tqdm: Update to 4.64.1., guix-commits, 2022/09/14
- 01/07: gnu: stcgal: Patch tests for PyYAML 6., guix-commits, 2022/09/14
- 03/07: gnu: Remove duplicate copyright line., guix-commits, 2022/09/14
- 04/07: gnu: ungoogled-chromium: Update to 105.0.5195.125-1., guix-commits, 2022/09/14
- 07/07: gnu: python-scikit-learn: Update to 1.1.2.,
guix-commits <=
- 06/07: gnu: python-pingouin: Don't pin scikit-learn version., guix-commits, 2022/09/14