summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-01-06 11:56:30 +0000
committerRutherther <rutherther@ditigal.xyz>2026-01-25 21:21:47 +0100
commitffbac2a24c3831f9adcf2749e61c8f639c4f1fe0 (patch)
treefc2592f746ca4b7c58b58bcb327a931d28c859dd /gnu/packages/python-science.scm
parentb05b0f47dec5203b9ab3b107930ae31af126981e (diff)
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 <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm23
1 files changed, 17 insertions, 6 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 1a353af11e1..a3f8d41d160 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