Archived
1
0
Fork 0

gnu: python-dask: Update to 2021.7.1.

* gnu/packages/python-xyz.scm (python-dask): Update to 2021.7.1.
[arguments]: Do not skip test_shuffle.
This commit is contained in:
Ricardo Wurmus 2021-07-28 14:47:50 +02:00
parent f01d4b197a
commit 242221e380
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -21623,13 +21623,13 @@ decisions with any given backend.")
(define-public python-dask (define-public python-dask
(package (package
(name "python-dask") (name "python-dask")
(version "2.14.0") (version "2021.7.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "dask" version)) (uri (pypi-uri "dask" version))
(sha256 (sha256
(base32 "031j0j26s0675v0isyps2dphm03330n7dy8ifdy70jgvf78d119q")))) (base32 "131c1bp193d7wp4gx09j6wark1c322c8sqjy22i0jaafl5rqfbz7"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -21640,14 +21640,7 @@ decisions with any given backend.")
(substitute* "dask/tests/test_threaded.py" (substitute* "dask/tests/test_threaded.py"
(("def test_interrupt\\(\\)" m) (("def test_interrupt\\(\\)" m)
(string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n" (string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n"
m))) m)))))
;; This one fails with a type error:
;; TypeError: Already tz-aware, use tz_convert to convert.
(substitute* "dask/dataframe/tests/test_shuffle.py"
(("def test_set_index_timestamp\\(\\)" m)
(string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n"
m)))
#t))
(replace 'check (replace 'check
(lambda _ (invoke "pytest" "-vv")))))) (lambda _ (invoke "pytest" "-vv"))))))
(propagated-inputs (propagated-inputs