diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-15 10:20:32 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-09-15 10:20:32 -0400 |
commit | 3d297a0017210f1dd135592efb10846840a8af88 (patch) | |
tree | 8868c35a558a6288b5097d65bee42dda291178e4 /gnu/packages/machine-learning.scm | |
parent | 279349209e44aaae6ca2aba328fe2a4d2da99f12 (diff) | |
parent | 6737d8d3248301e65bc24291b1a776e4aa8c3648 (diff) |
Merge branch 'master' into staging
With resolved conflicts in:
gnu/local.mk
gnu/packages/freedesktop.scm
gnu/packages/gnuzilla.scm
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r-- | gnu/packages/machine-learning.scm | 16 |
1 files 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 |