Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2025

Updates the requirements on nanobind to permit the latest version.

Changelog

Sourced from nanobind's changelog.

Version 2.9.2 (Sep 4, 2025)

This is a patch release to fix an issue in the new recursive stub generation feature:

  • When creating stubs for a module, the generator must decide whether to store declarations locally (e.g., in foo.pyi) or in a subdirectory (e.g., in foo/__init__.pyi). The latter is necessary, e.g., when foo contains submodules. However, the implemented submodule test was far too conservative and interpreted any imported module (e.g. import os) as a submodule. The patch release fixes this. (commit a65e1b <https://github.com/wjakob/nanobind/commit/a65e1b36ec0670e7c8d7a3bacfa5cff425fe92fe>__).

Version 2.9.1 (Sep 4, 2025)

This is a patch release to fix a regression in the CMake build system:

  • nanobind 2.9.0 internally adopted the CMake command cmake_path() to normalize paths. This was done for cosmetic reasons, since it improves the readability of generated commands. However, cmake_path() is only available on CMake 3.20+, while nanobind officially supports CMake 3.15+. Version 2.9.1 removes the full path normalization. (commit f703fd <https://github.com/wjakob/nanobind/commit/f703fd403aed32cd903f5cfdff414bdfd13f6430>__).

Version 2.9.0 (Sep 4, 2025)

  • Nanobind's CMake stub generation command :cmake:command:nanobind_add_stub can now automatically traverse submodule hierarchies and generate :ref:many stub files at once <stubgen_recursive_cmake>. (PR [#1148](https://github.com/wjakob/nanobind/issues/1148) <https://github.com/wjakob/nanobind/pull/1148>__).

  • Recursive stub generation now correctly organizes stub files hierarchically (e.g. my_ext.pyi versus my_ext/__init__.pyi). (commits ad9d3fe <https://github.com/wjakob/nanobind/commit/ad9d3fe4a631b25dbef0eca54a4ac5f96f064596>, 620c1c1 <https://github.com/wjakob/nanobind/commit/620c1c13430bed882d76d2c12efadaa4e9f3f37d>).

  • The stub generator now exposes NumPy array types as NDArray[np.float32] (or similar) instead of Annotated[ArrayLike, dict(...)] to simplify type-checking. (PR [#1149](https://github.com/wjakob/nanobind/issues/1149) <https://github.com/wjakob/nanobind/pull/1149>, commit 37dd2c <https://github.com/wjakob/nanobind/commit/37dd2c6d6a44f9657fb08c46b2d5e5c1623a1048>).

  • Nanobind (finally!) correctly implements in-place updates to dicts, lists, etc. Previously, a C++ operation like

... (truncated)

Commits
  • 116e098 v2.9.2 release
  • a65e1b3 stubgen.py: adopt a stricter rule about what constitutes a submodule
  • 863e446 begin working on next version
  • f703fd4 v2.9.1 release
  • 979debb begin working on next version
  • cc860b2 v2.9.0 release
  • c4291a7 changelog
  • 8d6e117 Throw earlier PyErr instead of throwing cast_error (#1137)
  • 96e1fd4 bump Python 3.14 to rc2
  • 37dd2c6 stubgen.py: do not import NumPy dtypes individually (clashes with builtins)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [nanobind](https://github.com/wjakob/nanobind) to permit the latest version.
- [Changelog](https://github.com/wjakob/nanobind/blob/master/docs/changelog.rst)
- [Commits](wjakob/nanobind@v0.0.1...v2.9.2)

---
updated-dependencies:
- dependency-name: nanobind
  dependency-version: 2.9.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added lang: python PRs or issues related to Python part: dependencies PRs or issues related to dependencies labels Oct 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

Test Results

8 tests  ±0   8 ✅ ±0   24s ⏱️ +6s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit c559680. ± Comparison against base commit 74f76be.

♻️ This comment has been updated with latest results.

@timkpaine timkpaine merged commit c244124 into main Oct 1, 2025
4 checks passed
@timkpaine timkpaine deleted the dependabot/pip/nanobind-lt-2.10.0 branch October 1, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: python PRs or issues related to Python part: dependencies PRs or issues related to dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants