An open index of dependabot pull requests across open source projects.

Update nanobind requirement from <2.12.0 to <2.13.0

Open
Number: #91
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Unknown
Comments: 1
Created: March 01, 2026 at 07:54 AM UTC
(9 days ago)
Updated: March 01, 2026 at 07:56 AM UTC
(9 days ago)
Labels:
part: dependencies lang: python
Description:

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)
Package Dependencies
Package:
nanobind
Ecosystem:
pip
Version Change:
<2.12.0 → <2.13.0
Update Type:
Minor
Technical Details
ID: 14242539
UUID: 4006604501
Node ID: PR_kwDOMUJLkM7HGNtu
Host: GitHub
Repository: python-project-templates/hatch-cpp