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

commit c2cc3c6cabf61434486e79f0497a75b2c3f4f395
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 9 09:51:37 2026 +0000

    gnu: python-nanobind: Update to 2.10.2.
    
    * gnu/packages/python-xyz.scm (python-nanobind): Update to 2.10.2.
    [native-inputs]: Add python-numpy, python-pathspec, and python-scipy.
    [synopsis]: Fix lint warning: "synopsis should start with an upper-case
    letter or digit".
    
    Change-Id: I26dd624d3a9ead7af7744769cc59f05bb56de56d
---
 gnu/packages/python-xyz.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a73d51516e..a727a1d58a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3956,16 +3956,17 @@ generator MkDocs.")
 (define-public python-nanobind
   (package
     (name "python-nanobind")
-    (version "2.4.0")
+    (version "2.10.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "nanobind" version))
        (sha256
-        (base32 "15hw9r0znv7pz8mlgcb892m8ahppaf7gx2xcna2i122qbzp2sfd0"))))
+        (base32 "0sscrair34s1nj7vvybakirpgjsg9l6qic4wsvpas7vdrq89jl08"))))
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 466 passed, 27 skipped
       #:phases
       #~(modify-phases %standard-phases
           (add-before 'build 'configure-cmake
@@ -3976,12 +3977,17 @@ generator MkDocs.")
               (invoke "cmake" "--build" "build" "-j" "2")))
           (add-before 'check 'pre-check
             (lambda _ (chdir "build"))))))
-    (inputs (list eigen))
-    (native-inputs (list cmake-minimal
-                         python-pytest
-                         python-scikit-build-core))
+    (native-inputs
+     (list cmake-minimal
+           python-numpy
+           python-pathspec
+           python-pytest
+           python-scikit-build-core
+           python-scipy))
+    (inputs
+     (list eigen))
     (home-page "https://github.com/wjakob/nanobind/";)
-    (synopsis "nanobind: tiny and efficient C++/Python bindings")
+    (synopsis "Tiny and efficient C++/Python bindings")
     (description "Nanobind is a small binding library that exposes C++ types
 in Python and vice versa.  It is reminiscent of @code{Boost.Python} and
 @code{pybind11} and uses near-identical syntax.  In contrast to these existing

Reply via email to