guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit d5fa76e239c735c21409041f818385ed4e6b36b5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Jul 12 23:11:46 2026 +0100

    gnu: Add python-dask-minimal.
    
    * gnu/packages/python-science.scm (python-dask-minimal): New variable.
---
 gnu/packages/python-science.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index baafbbed92..7fdf40ccb2 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1062,6 +1062,27 @@ Features:
 @end itemize")
     (license license:bsd-3)))
 
+;; A bare minimal package, mainly to use in tests and reduce closure size.
+;; Tests are left out in the main package to slim down native-inputs and
+;; propagated-inputs.
+(define-public python-dask-minimal
+  (package/inherit python-dask
+    (name "python-dask-minimal")
+    (arguments
+     (substitute-keyword-arguments arguments
+       ((#:tests? _ #t) #f)))
+    (native-inputs
+     (list python-setuptools
+           python-setuptools-scm-next))
+    (propagated-inputs
+     (list python-click
+           python-cloudpickle
+           python-fsspec
+           python-packaging
+           python-partd
+           python-pyyaml
+           python-toolz))))
+
 (define-public python-decaylanguage
   (package
     (name "python-decaylanguage")

Reply via email to