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

commit bd66c8aba2c5ee270c34b3641db286a33ed0dfa7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 6 11:56:30 2026 +0000

    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
---
 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 1a353af11e..a3f8d41d16 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

Reply via email to