Skip to content

Bump nanobind from 2.7.0 to 2.8.0 in /src/python#338

Merged
sovrasov merged 1 commit into
masterfrom
dependabot/pip/src/python/master/nanobind-2.8.0
Jul 30, 2025
Merged

Bump nanobind from 2.7.0 to 2.8.0 in /src/python#338
sovrasov merged 1 commit into
masterfrom
dependabot/pip/src/python/master/nanobind-2.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 29, 2025

Copy link
Copy Markdown
Contributor

Bumps nanobind from 2.7.0 to 2.8.0.

Changelog

Sourced from nanobind's changelog.

Version 2.8.0 (July 16, 2025)

  • Added :cpp:class:nb::fallback <fallback> wrapper type, which is a :cpp:class:nb::handle <handle> that always requires implicit conversion during casting. This is convenient when adding catch-all overloads that must handle arbitrary Python objects, without interfering with implicit conversion of arguments in other overloads.

  • The nanobind::literals namespace now includes _s to create a Python string from source code literals. (PR [#1051](https://github.com/wjakob/nanobind/issues/1051) <https://github.com/wjakob/nanobind/pull/1051>__).

  • Added :cpp:func:nb::dict::empty() <dict::empty>, :cpp:func:nb::list::empty() <list::empty>, :cpp:func:nb::set::empty() <set::empty>, and :cpp:func:nb::tuple::empty() <tuple::empty> convenience methods. (PR [#1052](https://github.com/wjakob/nanobind/issues/1052) <https://github.com/wjakob/nanobind/pull/1052>__)

  • Added a :cpp:func:nb::dict::get() <dict::get> function to perform dictionary lookups with a fallback value in case of failures. (commit d38284 <https://github.com/wjakob/nanobind/commit/d38284e573e404503862a550804e4c2413e11e01>__).

  • Nanobind now uses multi-phase (as opposed to single-phase) initialization API when registering modules. However, multi-interpreter extensions remain unsupported. (PR [#1059](https://github.com/wjakob/nanobind/issues/1059) <https://github.com/wjakob/nanobind/pull/1059>__).

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

  • Miscellaneous fixes and improvements ( commits d4b245 <https://github.com/wjakob/nanobind/commit/d4b245ad69f729c3d2095be4c1cb5b94810dae26>, 667451 <https://github.com/wjakob/nanobind/commit/667451fb4566dcd7151d64d81e118f9ba194a889>, 62fc99 <https://github.com/wjakob/nanobind/commit/62fc996018d9ea4d51af9c86cf008c2562b4eeab>, 8497f7 <https://github.com/wjakob/nanobind/commit/8497f778d006b60e44e99530f241e22f9603bb04>).

Commits
  • 0e7aa61 v2.8.0 release
  • 8497f77 make nb::implicitly_convertible() a no-op if Source==Target
  • fc08a19 gitignore: add .pyi files
  • a0ed258 SciPy test fixes
  • d38284e Added nb::dict::get() function with fallback value
  • a787cca Remove argument from Cmake else() command (#1081)
  • f4f546b another fix for the sanitizer detection code..
  • 66e0e2d expand macros in new multi-phase initialization code
  • d0b9ea6 small tweak to stub sanitizer detection code
  • 80c37ed Added nb::fallback wrapper type
  • 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 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)

Bumps [nanobind](https://github.com/wjakob/nanobind) from 2.7.0 to 2.8.0.
- [Changelog](https://github.com/wjakob/nanobind/blob/master/docs/changelog.rst)
- [Commits](wjakob/nanobind@v2.7.0...v2.8.0)

---
updated-dependencies:
- dependency-name: nanobind
  dependency-version: 2.8.0
  dependency-type: direct:production
  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 python related changes labels Jul 29, 2025
@dependabot dependabot Bot requested a review from a team as a code owner July 29, 2025 00:47
@dependabot dependabot Bot added python python related changes dependencies Pull requests that update a dependency file labels Jul 29, 2025
@sovrasov sovrasov added this pull request to the merge queue Jul 30, 2025
Merged via the queue into master with commit 9bb50a6 Jul 30, 2025
26 of 28 checks passed
@sovrasov sovrasov deleted the dependabot/pip/src/python/master/nanobind-2.8.0 branch July 30, 2025 15:42
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 python related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant