python312Packages.nanobind: 2.1.0 -> 2.2.0
Diff: https://github.com/wjakob/nanobind/compare/refs/tags/v2.1.0...v2.2.0 Changelog: https://github.com/wjakob/nanobind/blob/refs/tags/v2.2.0/docs/changelog.rst
This commit is contained in:
parent
4a5287dcb8
commit
9f9553ee5a
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user