From 224d1c5818ef8342cb9ae0090adff0eb743049c8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Dec 2021 13:07:46 +0100 Subject: [PATCH] gnu: python-dask: Update to 2021.11.2. * gnu/packages/python-xyz.scm (python-dask): Update to 2021.11.2. [source]: Fetch from github. [arguments]: Remove phase 'disable-broken-tests. --- gnu/packages/python-xyz.scm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 70bc458d67..7fb0a8f0bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22745,24 +22745,20 @@ (define-public python-fsspec (define-public python-dask (package (name "python-dask") - (version "2021.9.1") + (version "2021.11.2") (source (origin - (method url-fetch) - (uri (pypi-uri "dask" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/dask/dask/") + (commit "5a8275dd53193b47457cdfadc0e2356ea3eb6ccd"))) + (file-name (git-file-name name version)) (sha256 - (base32 "0p6nd8wi30l29g5hdwk0453w6fxg4zvxq1y1ix0fa2f8rbr2n7z1")))) + (base32 "0h8w7c03mn6s2mmwbqd2sqay3k4vaqiwlsbvliziggw28042zfw2")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-broken-tests - (lambda _ - ;; This test is marked as xfail when pytest-xdist is used. - (substitute* "dask/tests/test_threaded.py" - (("def test_interrupt\\(\\)" m) - (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n" - m))))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest" "-vv")))))))