gnu: python-dask: Speed up tests.

* gnu/packages/python-xyz.scm (python-dask) [arguments] <#:test-flags>:
Add option to run tests in parallel.
[native-inputs]: Add python-xdist. Reformat as a list.

Change-Id: I9b4b1c53f827e1f5d3edd0908f8e37e1a3bddb71
This commit is contained in:
Sharlatan Hellseher 2024-03-10 09:26:46 +00:00
parent 249f0a9c9f
commit 9b0508e204
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -27643,7 +27643,8 @@ (define-public python-dask
(list
;; Avoid coverage
#:test-flags
#~(list "-m" "not gpu and not slow and not network"
#~(list "-n" "auto"
"-m" "not gpu and not slow and not network"
"-k" (string-append
;; This one cannot be interrupted.
"not test_interrupt"
@ -27696,7 +27697,10 @@ (define-public python-dask
python-pyyaml))
(native-inputs
(list python-importlib-metadata
python-pytest python-pytest-runner python-pytest-rerunfailures
python-pytest
python-pytest-rerunfailures
python-pytest-runner
python-pytest-xdist
python-versioneer))
(home-page "https://github.com/dask/dask/")
(synopsis "Parallel computing with task scheduling")