aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-04-30 21:58:44 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:16 +0200
commit07c7b342bb84ba4f56b33e93a5400870ae4731a5 (patch)
treed38ac8fbd7f8d6d1b40b8e0fe446e501cadd1435
parentf3a80df770d7cb0f43908d989022ccc0f2b42652 (diff)
downloadguix-07c7b342bb84ba4f56b33e93a5400870ae4731a5.tar.gz
guix-07c7b342bb84ba4f56b33e93a5400870ae4731a5.zip
gnu: python-distributed: Update to 2024.4.2.
* gnu/packages/python-science.scm (python-distributed): Update to 2024.4.2. [propagated-inputs]: Add python-dask-expr. [arguments]: Adjust tests. Change-Id: I9d3b45d14ae052f3a5a5dec3587bc01d13e4b71f
-rw-r--r--gnu/packages/python-science.scm19
1 files changed, 15 insertions, 4 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 49f020a0dc..865497d6b7 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2078,7 +2078,7 @@ optimization and generally improved organization.")
(define-public python-distributed
(package
(name "python-distributed")
- (version "2023.7.0")
+ (version "2024.4.2")
(source
(origin
;; The test files are not included in the archive on pypi
@@ -2089,12 +2089,12 @@ optimization and generally improved organization.")
(file-name (git-file-name name version))
(sha256
(base32
- "0b93fpwz7kw31pkzfyihpkw8mzbqshzd6rw5vcwld7n3z2aaaxxb"))))
+ "0sy9mqa8qlxsagbz8xn304csrlxhxj4b6k84yrjxdcmkp9pkx166"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- '(list "-x" "-m"
+ '(list "-m"
(string-append "not slow"
" and not flaky"
" and not gpu"
@@ -2149,6 +2149,8 @@ optimization and generally improved organization.")
"test_locked_comm_drop_in_replacement"
"test_locked_comm_intercept_read"
"test_locked_comm_intercept_write"
+ "test_messages_are_ordered_bsend"
+ "test_messages_are_ordered_raw"
"test_mixing_clients_different_scheduler"
"test_multiple_listeners"
"test_no_dangling_asyncio_tasks"
@@ -2157,6 +2159,7 @@ optimization and generally improved organization.")
"test_plugin_multiple_exceptions"
"test_ports"
"test_preload_import_time"
+ "test_preload_manager_sequence"
"test_queue_in_task"
"test_quiet_client_close"
"test_rebalance_sync"
@@ -2196,9 +2199,12 @@ optimization and generally improved organization.")
"test_variable_in_task"
"test_worker_preload_text"
"test_worker_uses_same_host_as_nanny"
- "test_nanny_timeout") ; access to 127.0.0.1
+ "test_nanny_timeout") ; access to 127.0.0.1
" and not ")
+ ;; This seems to want to use 64GB of memory.
+ " and not test_computation_object_code_dask_compute"
+
;; These fail because it doesn't find dask[distributed]
" and not test_quiet_close_process"
@@ -2267,6 +2273,10 @@ parentdir_prefix = distributed-
(add-before 'check 'pre-check
(lambda _
(setenv "DISABLE_IPV6" "1")
+ ;; Disable job queueing
+ (setenv "DASK_DISTRIBUTED__SCHEDULER__WORKER_SATURATION" "inf")
+ ;; Do not use dask-expr
+ (setenv "DASK_DATAFRAME__QUERY_PLANNING" "False")
;; The integration tests are all problematic to some
;; degree. They either require network access or some
;; other setup. We only run the tests in
@@ -2287,6 +2297,7 @@ parentdir_prefix = distributed-
python-cloudpickle
python-cryptography
python-dask
+ python-dask-expr
python-msgpack
python-psutil
python-pyyaml