diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2024-05-02 15:33:59 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-05-05 22:38:17 +0200 |
commit | 78d5fb172079f2fb5f9505f12f516e249e2ca7fe (patch) | |
tree | b846d19bbeb4f037bd5820054df0e48034a960bb /gnu/packages | |
parent | a237ba53781361443cce6bb307c0bd48c84c002a (diff) | |
download | guix-78d5fb172079f2fb5f9505f12f516e249e2ca7fe.tar.gz guix-78d5fb172079f2fb5f9505f12f516e249e2ca7fe.zip |
gnu: python-dask: Propagate python-dask-expr.
* gnu/packages/python-xyz.scm (python-dask/bootstrap): New variable.
(python-dask)[propagated-inputs]: Add python-dask-expr.
* gnu/packages/python-science.scm (python-dask-expr)[propagated-inputs]:
Remove python-dask.
[native-inputs]: Add python-dask/bootstrap.
Change-Id: I1196641425421c7dde94c6fea8d573e78db9c402
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-science.scm | 7 | ||||
-rw-r--r-- | gnu/packages/python-xyz.scm | 12 |
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") |