diff --git a/pkgs/development/python-modules/nanobind/default.nix b/pkgs/development/python-modules/nanobind/default.nix index 76f2e9a58d76..3d2005a1c6aa 100644 --- a/pkgs/development/python-modules/nanobind/default.nix +++ b/pkgs/development/python-modules/nanobind/default.nix @@ -27,14 +27,14 @@ }: buildPythonPackage rec { pname = "nanobind"; - version = "2.1.0"; + version = "2.2.0"; pyproject = true; src = fetchFromGitHub { owner = "wjakob"; repo = "nanobind"; rev = "refs/tags/v${version}"; - hash = "sha256-AO/EHx2TlXidalhPb+xuUchaek4ki7fDExu2foBgUp0="; + hash = "sha256-HtZfpMVz/7VMVrFg48IkitK6P3tA+swOeaLLiKguXXk="; fetchSubmodules = true; }; @@ -59,6 +59,13 @@ buildPythonPackage rec { dontUseCmakeBuildDir = true; 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 '';