summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/python-science.scm7
-rw-r--r--gnu/packages/python-xyz.scm12
2 files changed, 17 insertions, 2 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 75c04acd92..da6d86eeca 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2129,9 +2129,12 @@ parentdir_prefix = dask_expr-
(substitute* "setup.py"
(("versioneer.get_version\\(\\)")
(string-append "\"" #$version "\""))))))))
- (propagated-inputs (list python-dask python-pandas python-pyarrow))
+ (propagated-inputs (list python-pandas python-pyarrow))
(native-inputs
- (list python-pytest
+ ;; We use python-dask/bootstrap so that python-dask can propagate this
+ ;; package without creating a mutually recursive dependency.
+ (list python-dask/bootstrap
+ python-pytest
python-versioneer))
(home-page "https://github.com/dask/dask-expr")
(synopsis "Dask DataFrames with query optimization")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0a0428df43..e2b64f984c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28106,6 +28106,7 @@ parentdir_prefix = dask-
(propagated-inputs
(list python-click ;needed at runtime
python-cloudpickle
+ python-dask-expr
python-fsspec
python-importlib-metadata ;needed at runtime for dask/_compatibility.py
python-numpy
@@ -28132,6 +28133,17 @@ larger-than-memory or distributed environments. These parallel collections
run on top of the dynamic task schedulers.")
(license license:bsd-3)))
+(define-public python-dask/bootstrap
+ (package
+ (inherit python-dask)
+ (properties '((hidden? . #true)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-dask)
+ ((#:tests? _ #t) #f)))
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-dask)
+ (delete "python-dask-expr")))))
+
(define-public python-dask-image
(package
(name "python-dask-image")