From 2423fa65d19f42b601f327d297a3146a60050023 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 9 Jan 2026 09:51:37 +0000 Subject: [PATCH] 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 Signed-off-by: Rutherther --- 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 8d007c26eaecc466ac9542aa3ba5ee892d628645..a5d85e98fc5a08df06fb990fd35a084fa410c725 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4002,16 +4002,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 @@ -4022,12 +4023,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