Skip to content

Commit 7b0c0dd

Browse files
committed
update nanobind version
Signed-off-by: Linda-Stadter <57756729+Linda-Stadter@users.noreply.github.com>
1 parent f0589db commit 7b0c0dd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ opentelemetry-exporter-otlp>=1.26.0
3737
opentelemetry-semantic-conventions-ai>=0.4.1
3838
fuzzywuzzy==0.18.0
3939
aiperf==0.3.0
40+
nanobind>=2.9.0

scripts/build_wheel.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,9 @@ def generate_python_stubs_linux(binding_type: str, venv_python: Path,
395395
try:
396396
if is_nanobind:
397397
build_run(
398-
f'"{venv_python}" -m nanobind.stubgen -m bindings -r -O bindings',
398+
f'"{venv_python}" -m nanobind.stubgen -m bindings -r -O .',
399399
env=env_stub_gen,
400400
)
401-
# Root stub needs renaming from bindings.pyi to __init__.pyi
402-
bindings_stub = Path("bindings/bindings.pyi")
403-
if bindings_stub.exists():
404-
bindings_stub.rename("bindings/__init__.pyi")
405401
else:
406402
build_run(
407403
f"\"{venv_python}\" -m pybind11_stubgen -o . bindings --exit-code",

0 commit comments

Comments
 (0)