~ruther/guix-local

9b0508e204e4857c9ff35258cc2598ba3a33f782 — Sharlatan Hellseher 2 years ago 249f0a9
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
1 files changed, 6 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +6 -2
@@ 27643,7 27643,8 @@ decisions with any given backend.")
     (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 @@ parentdir_prefix = 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")