Skip to content

build(deps-dev): bump nanobind from 2.13.0 to 2.14.0 - #14

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/nanobind-2.14.0
Open

build(deps-dev): bump nanobind from 2.13.0 to 2.14.0#14
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/nanobind-2.14.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps nanobind from 2.13.0 to 2.14.0.

Changelog

Sourced from nanobind's changelog.

Version 2.14.0 (Aug 7, 2026)

  • Implicit conversion to integer-typed arguments now requires that the input implement Python's __index__ protocol, which is reserved for lossless integer conversion. The previous implementation explicitly rejected Python float arguments, but mistakenly accepted (and truncated) floating point types that are not float subclasses, such as np.float32. It also accepted strings like "123". Both are considered bugs, hence this change lands in a minor release despite being observable from Python. Arguments such as bool, enum.IntEnum, and NumPy integer scalars continue to convert as before. (commits d33465 <https://github.com/wjakob/nanobind/commit/d33465e4a2d1f48e6210dbe6a7c44f7bf2b1fae2>, a29b10 <https://github.com/wjakob/nanobind/commit/a29b106f9eb55562d8fe749c3e94bb77621121c2>).

  • The type casters for STL sets, maps, and enumerations now check whether an input is convertible up front instead of raising and immediately discarding a Python exception. Since overload resolution routinely probes casters with non-matching arguments, this removes exception overhead from a hot path. (commit 6d130f <https://github.com/wjakob/nanobind/commit/6d130fed8e05de8f89b608570fe720406f7a578f>__).

  • nanobind now ships a workaround for spurious leak reports caused by an issue in the typing module. It also fixes an issue where references to internal types were leaked, which generated warnings in valgrind. (commits acd95d <https://github.com/wjakob/nanobind/commit/acd95d4144d169323cc6b706b957711cf9d366ba>, 31618e <https://github.com/wjakob/nanobind/commit/31618ea0cb359f8546f2132930e26d4def29bf98>).

  • Stubgen: read-only static properties are now annotated as Final[T] and read-write ones as ClassVar[T]. ClassVar[Final[T]] is no longer generated. Overriding a read-only static property in a subclass now also works. (commit 4a8f4f <https://github.com/wjakob/nanobind/commit/4a8f4fcfe802174d6351b91b677ffef4fb2f2e5b>__).

  • Miscellaneous minor fixes and improvements. (PRs [#1389](https://github.com/wjakob/nanobind/issues/1389) <https://github.com/wjakob/nanobind/pull/1389>, [#1390](https://github.com/wjakob/nanobind/issues/1390) <https://github.com/wjakob/nanobind/pull/1390>, [#1392](https://github.com/wjakob/nanobind/issues/1392) <https://github.com/wjakob/nanobind/pull/1392>, [#1394](https://github.com/wjakob/nanobind/issues/1394) <https://github.com/wjakob/nanobind/pull/1394>, commits 450d2e <https://github.com/wjakob/nanobind/commit/450d2e9290ee3e6de7befa8da5bbc75c7a013cd1>, 341ac4 <https://github.com/wjakob/nanobind/commit/341ac459cbae37ee622c9b12c020bb3dc87db13c>).

Commits
  • 86e5626 v2.14.0 release
  • c9c0b37 changelog updates
  • acd95d4 Fix reference leaks of nanobind's internal type objects
  • a29b106 int caster: fix regression in the previous commit
  • d33465e int caster: require __index__ for implicit integer conversion
  • 341ac45 FAQ: policy for AI-assisted contributions
  • 6fa7215 Allow use of nanobind/eigen/sparse.h without nanobind/eigen/dense.h
  • 450d2e9 Pin Python interpreter in CI build matrix
  • 74f78c4 Add AIX Support
  • ff6a401 Improve compatibility of nanobind.stubgen with scikit-build-core
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [nanobind](https://github.com/wjakob/nanobind) from 2.13.0 to 2.14.0.
- [Changelog](https://github.com/wjakob/nanobind/blob/master/docs/changelog.rst)
- [Commits](wjakob/nanobind@v2.13.0...v2.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Aug 10, 2026
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.

0 participants