mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
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
This commit is contained in:
parent
a237ba5378
commit
78d5fb1720
2 changed files with 17 additions and 2 deletions
|
@ -2129,9 +2129,12 @@ (define-public python-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")
|
||||
|
|
|
@ -28106,6 +28106,7 @@ (define-public python-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 @@ (define-public python-dask
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue