[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/16: gnu: Add python-dask-expr.
From: |
guix-commits |
Subject: |
10/16: gnu: Add python-dask-expr. |
Date: |
Tue, 30 Apr 2024 17:55:01 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit 9ef0f27239bf7ce8b6a6aeb5e08009fb796b1d8f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Apr 30 21:58:28 2024 +0200
gnu: Add python-dask-expr.
* gnu/packages/python-science.scm (python-dask-expr): New variable.
Change-Id: I691593ab713fe865c771aa68b5521c4c10cc58f6
---
gnu/packages/python-science.scm | 48 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 933788873c..09b49efbec 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -2027,6 +2027,54 @@ and more
Mathematics (GLM) library to Python.")
(license license:zlib)))
+(define-public python-dask-expr
+ (package
+ (name "python-dask-expr")
+ (version "1.0.14")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dask/dask-expr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0c2q8w8wl5d2hycbjp9vavkl5f36kaz390wxlis2d8d43jnqhf0d"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:tests? #false ;need python-distributed, which needs dask-expr.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'versioneer
+ (lambda _
+ ;; Our version of versioneer needs setup.cfg. This is adapted
+ ;; from pyproject.toml.
+ (with-output-to-file "setup.cfg"
+ (lambda ()
+ (display "\
+[versioneer]
+VCS = git
+style = pep440
+versionfile_source = dask_expr/_version.py
+versionfile_build = dask_expr/_version.py
+tag_prefix =
+parentdir_prefix = dask_expr-
+")))
+ (invoke "versioneer" "install")
+ (substitute* "setup.py"
+ (("versioneer.get_version\\(\\)")
+ (string-append "\"" #$version "\""))))))))
+ (propagated-inputs (list python-dask python-pandas python-pyarrow))
+ (native-inputs
+ (list python-pytest
+ python-versioneer))
+ (home-page "https://github.com/dask/dask-expr")
+ (synopsis "Dask DataFrames with query optimization")
+ (description "This is a rewrite of Dask DataFrame that includes query
+optimization and generally improved organization.")
+ (license license:bsd-3)))
+
(define-public python-distributed
(package
(name "python-distributed")
- branch wip-python-team updated (5ef3a4c727 -> 467b59c4df), guix-commits, 2024/04/30
- 02/16: gnu: python-tabulate: Update to 0.9.0., guix-commits, 2024/04/30
- 03/16: gnu: python-pandas-stub: Update to 2.1.1.230928., guix-commits, 2024/04/30
- 05/16: gnu: apache-arrow: Build with ORC., guix-commits, 2024/04/30
- 01/16: gnu: python-pandas-2: Fix version., guix-commits, 2024/04/30
- 06/16: gnu: python-pyarrow: Build with ORC support., guix-commits, 2024/04/30
- 09/16: gnu: python-partd: Update to 1.4.1., guix-commits, 2024/04/30
- 10/16: gnu: Add python-dask-expr.,
guix-commits <=
- 14/16: gnu: Add python-awkward., guix-commits, 2024/04/30
- 16/16: gnu: python-anndata: Update to 0.10.7., guix-commits, 2024/04/30
- 07/16: gnu: python-tables: Update to 3.7.0., guix-commits, 2024/04/30
- 11/16: gnu: python-distributed: Update to 2024.4.2., guix-commits, 2024/04/30
- 15/16: gnu: Add python-array-api-compat., guix-commits, 2024/04/30
- 04/16: gnu: Add apache-orc., guix-commits, 2024/04/30
- 08/16: gnu: python-dask: Update to 2024.4.2., guix-commits, 2024/04/30
- 12/16: gnu: Add python-scikit-build-core., guix-commits, 2024/04/30
- 13/16: gnu: Add python-awkward-cpp., guix-commits, 2024/04/30