diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-06 11:56:03 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:21:46 +0100 |
| commit | b05b0f47dec5203b9ab3b107930ae31af126981e (patch) | |
| tree | 0725f93ad259324e8263a776cb3c2ca2cfcc7372 /gnu/packages/python-science.scm | |
| parent | bbc9e7763039a0ec16a2e1800771084f041b2fd8 (diff) | |
gnu: Add python-narwhals-minimal.
* gnu/packages/python-science.scm (python-narwhals-minimal): New variable.
Change-Id: I972010ea88c649d41227c51256b739a022a350df
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b2286c566db..1a353af11e1 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1941,6 +1941,19 @@ between dataframe libraries. @end itemize") (license license:expat))) +;; 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. +(define-public python-narwhals-minimal + (package/inherit python-narwhals + (name "python-narwhals-minimal") + (arguments + (substitute-keyword-arguments (package-arguments python-anndata) + ((#:tests? _ #t) #f))) + (native-inputs + (list python-hatchling)) + ;; All Narwals dependencies are optional. + (propagated-inputs '()))) + (define-public python-ndindex (package (name "python-ndindex") |
