diff options
author | Marius Bakke <[email protected]> | 2022-08-11 23:36:10 +0200 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2022-08-11 23:36:10 +0200 |
commit | 77eb3008e350c069e0ae8df6a91bf0ebdcfc2ac0 (patch) | |
tree | b899e65aa79099be3f4b27dfcd565bb143681211 /gnu/packages/machine-learning.scm | |
parent | f7e8be231806a904e6817e8ab3404b32f2511db2 (diff) | |
parent | b50eaa67642ebc25e9c896f2e700c08610e0a5da (diff) |
Merge branch 'staging' into core-updates
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r-- | gnu/packages/machine-learning.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index b19af8a1d5..cd0640cd27 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2750,11 +2750,18 @@ These include a barrier, broadcast, and allreduce.") (list #:phases #~(modify-phases %standard-phases + ;; Numba needs a writable dir to cache functions. + (add-before 'check 'set-numba-cache-dir + (lambda _ + (setenv "NUMBA_CACHE_DIR" "/tmp"))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "HOME" "/tmp") - (invoke "pytest" "-vv" "umap"))))))) + (invoke "pytest" "-vv" "umap" + ;; This test can fail because trust may only be + ;; 0.9679405204460967 >= 0.97 + "-k" "not test_densmap_trustworthiness_on_iris_supervised"))))))) (native-inputs (list python-pytest)) (propagated-inputs (list python-numba |