python3Packages.nanobind: 2.5.0 -> 2.6.1

This commit is contained in:
Philipp Arras
2025-03-30 19:49:03 +02:00
parent c01965bd2f
commit 8d51b19203
@@ -27,14 +27,14 @@
}:
buildPythonPackage rec {
pname = "nanobind";
version = "2.5.0";
version = "2.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "wjakob";
repo = "nanobind";
tag = "v${version}";
hash = "sha256-sH+qZHd9OKDxl2yTAeDh4xLwW64k6nIToyLfd3cR6kE=";
hash = "sha256-1CU5aRhiVPGXLVYZzOM8ELgRwa3hz7kQSwlTYsvFE7s=";
fetchSubmodules = true;
};
@@ -57,13 +57,6 @@ buildPythonPackage rec {
doCheck = false;
preCheck = ''
# TODO: added 2.2.0, re-enable on next bump
# https://github.com/wjakob/nanobind/issues/754
# "generated stubs do not match their references"
# > -import tensorflow.python.framework.ops
# > +import tensorflow
rm tests/test_ndarray_ext.pyi.ref
# build tests
make -j $NIX_BUILD_CORES
'';