From ffbac2a24c3831f9adcf2749e61c8f639c4f1fe0 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 6 Jan 2026 11:56:30 +0000 Subject: [PATCH] gnu: python-narwhals: Update to 2.15.0. * gnu/packages/python-science.scm (python-narwhals): Update to 2.15.0. [propagated-inputs]: Add python-duckdb, python-packaging, and python-rich. [native-inputs]: Remove python-duckdb. Change-Id: I0af82e4cbe2b3c2b3ae3803b77cde5f6c921a1a6 Signed-off-by: Rutherther --- gnu/packages/python-science.scm | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1a353af11e1577d9cd1e69533eb1a4315bafbac1..a3f8d41d160d3440fecd063086ffb4aa91eb4e1c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1893,18 +1893,19 @@ Xarray Datatree.") (define-public python-narwhals (package (name "python-narwhals") - (version "1.44.0") + (version "2.15.0") (source (origin (method url-fetch) (uri (pypi-uri "narwhals" version)) (sha256 - (base32 "07fk7b1via9a81ig38316l10avdbrjbdxz2n7ddj48bg9xnn3w4c")))) + (base32 "0rd9z4pmp7cm1l11iahwxwkgl48ki3fiynj4d110i5cxp5smjn59")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 2846 passed, 215 skipped, 59 xfailed #:test-flags - #~(list "--numprocesses" (number->string (parallel-job-count)) + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) ;; Run a minimal portion of tests, the complete test suite ;; requires Polars, PySpark and SqlFrame packages. "--constructors=pandas" @@ -1922,14 +1923,24 @@ Xarray Datatree.") (native-inputs (list python-pytest python-pytest-xdist - python-duckdb python-pytest-env python-hatchling)) (propagated-inputs - (list python-pandas + ;; [core] + (list python-duckdb + python-pandas + ;; python-polars ;https://codeberg.org/guix/guix/pulls/2570 + python-pyarrow + ;; python-sqlframe + ;; [optional] + ;; python-cudf python-dask + ;; python-ibis-framework python-modin - python-pyarrow)) + python-packaging + ;; python-pyarrow-hotfix + ;; python-pyspark + python-rich)) (home-page "https://narwhals-dev.github.io/narwhals/") (synopsis "Compatibility layer between dataframe libraries") (description