Skip to content

Update nanobind requirement from <2.12.0 to <2.13.0#91

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/nanobind-lt-2.13.0
Open

Update nanobind requirement from <2.12.0 to <2.13.0#91
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/nanobind-lt-2.13.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

Updates the requirements on nanobind to permit the latest version.

Changelog

Sourced from nanobind's changelog.

Version 2.12.0 (Feb 25, 2025)

  • Added :cpp:class:nb::memoryview that wraps the Python memoryview type. (PR [#1291](https://github.com/wjakob/nanobind/issues/1291) <https://github.com/wjakob/nanobind/pull/1291>__).

  • Made stub generation compatible with the Realtime Sanitizer (RTSan) from Clang 20. (PR [#1285](https://github.com/wjakob/nanobind/issues/1285) <https://github.com/wjakob/nanobind/pull/1285>__).

  • Fixed a use-after-free when calling functions after their module has been deleted. The internals state is now reference-counted with references held by modules, functions, and types. This also fixes memory leaks reported in issue [#957](https://github.com/wjakob/nanobind/issues/957) <https://github.com/wjakob/nanobind/issues/957>. (PR [#1287](https://github.com/wjakob/nanobind/issues/1287) <https://github.com/wjakob/nanobind/pull/1287>).

  • Fixed two regressions from v2.11.0 related to the implicit std::optional :cpp:func:.none() <arg::none> annotation: an off-by-one error that applied the annotation to the wrong argument for methods, and a missing convert flag that silently disabled implicit type conversions. (issues [#1281](https://github.com/wjakob/nanobind/issues/1281) <https://github.com/wjakob/nanobind/issues/1281>, [#1293](https://github.com/wjakob/nanobind/issues/1293) <https://github.com/wjakob/nanobind/issues/1293>, commits ed7ab31 <https://github.com/wjakob/nanobind/commit/ed7ab31f5ffe313b2ca945573e29112ea5e475b2>, 1f96278 <https://github.com/wjakob/nanobind/commit/1f96278c09ec1f7110105f5e2e3dbd2f08dc66a4>).

  • ABI version 19.

Version 2.11.0 (Jan 29, 2026)

  • This release improves binding performance using CPython's adaptive specializing interpreter (PEP 659 <https://peps.python.org/pep-0659/>__). The speedups are automatic and require no changes to binding code:

    .. list-table:: :header-rows: 1

      • Operation
      • Speedup
      • Requirements
      • Method calls
      • 1.22x faster
      • Python 3.11+
      • Static attribute lookups
      • 1.63x faster
      • Python 3.14+

    This was achieved by making a number of nanobind-internal classes

... (truncated)

Commits

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 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.12.0)

---
updated-dependencies:
- dependency-name: nanobind
  dependency-version: 2.12.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added lang: python PRs or issues related to Python part: dependencies PRs or issues related to dependencies labels Mar 1, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

Test Results

56 tests  ±0   56 ✅ ±0   1m 1s ⏱️ -2s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit a6f2e67. ± Comparison against base commit 01b55aa.

♻️ This comment has been updated with latest results.

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.

0 participants