Skip to content

Bump nanobind from 2.10.2 to 2.12.0#173

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/nanobind-2.12.0
Open

Bump nanobind from 2.10.2 to 2.12.0#173
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/nanobind-2.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Dependabot will stop supporting python v3.9!

Please upgrade to one of the following versions: v3.9, v3.10, v3.11, v3.12, v3.13, or v3.14.

Bumps nanobind from 2.10.2 to 2.12.0.

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 dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 2, 2026
@PiotrPich2024

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [nanobind](https://github.com/wjakob/nanobind) from 2.10.2 to 2.12.0.
- [Changelog](https://github.com/wjakob/nanobind/blob/master/docs/changelog.rst)
- [Commits](wjakob/nanobind@v2.10.2...v2.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/nanobind-2.12.0 branch from d70c2af to 48270cd Compare May 29, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant