[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
41/93: gnu: Add python-dask-expr.
From: |
guix-commits |
Subject: |
41/93: gnu: Add python-dask-expr. |
Date: |
Sun, 5 May 2024 16:44:53 -0400 (EDT) |
rekado pushed a commit to branch wip-python-team
in repository guix.
commit f3a80df770d7cb0f43908d989022ccc0f2b42652
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 124a893dfc..49f020a0dc 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")
- 92/93: gnu: python-gpy: Update to 1.13.1., (continued)
- 92/93: gnu: python-gpy: Update to 1.13.1., guix-commits, 2024/05/05
- 17/93: gnu: Add python-scs., guix-commits, 2024/05/05
- 51/93: gnu: python-tabulate: Enable tests and fix version string., guix-commits, 2024/05/05
- 75/93: gnu: python-pytest-shutil: Disable a test., guix-commits, 2024/05/05
- 22/93: gnu: Add python-metacells., guix-commits, 2024/05/05
- 65/93: gnu: python-imbalanced-learn: Update to 0.12.2., guix-commits, 2024/05/05
- 19/93: gnu: Add python-osqp., guix-commits, 2024/05/05
- 24/93: gnu: python-scikit-opt: Add missing input., guix-commits, 2024/05/05
- 31/93: gnu: python-scikit-learn: Update to 1.4.2., guix-commits, 2024/05/05
- 38/93: gnu: python-tables: Update to 3.7.0., guix-commits, 2024/05/05
- 41/93: gnu: Add python-dask-expr.,
guix-commits <=
- 52/93: gnu: python-numpy: Update to 1.26.0., guix-commits, 2024/05/05
- 59/93: gnu: python-dask: Disable some tests., guix-commits, 2024/05/05
- 60/93: gnu: python-dask: Do not reference pyarrow_hotfix., guix-commits, 2024/05/05
- 63/93: gnu: tadbit: Patch for compatibility with latest scipy., guix-commits, 2024/05/05
- 66/93: gnu: python-jsonpickle: Update to 3.0.4., guix-commits, 2024/05/05
- 67/93: gnu: snakemake-6: Make compatible with tabulate 0.9.0., guix-commits, 2024/05/05
- 71/93: gnu: snakemake-5: Patch version string., guix-commits, 2024/05/05
- 69/93: gnu: snakemake: Fetch from git repository., guix-commits, 2024/05/05
- 70/93: gnu: snakemake-5: Make compatible with tabulate 0.9.0., guix-commits, 2024/05/05
- 73/93: gnu: python-termcolor: Update to 2.4.0., guix-commits, 2024/05/05