Skip to content

Update nanobind requirement from <2.8.0 to <2.9.0 #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2025

Updates the requirements on nanobind to permit the latest version.

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

Version 2.7.0 (Apr 18, 2025)

  • nanobind now provides a zero-copy type caster for Eigen::Map<Eigen::SparseMatrix>. (PRs [#1003](https://github.com/wjakob/nanobind/issues/1003) <https://github.com/wjakob/nanobind/pull/1003>, [#782](https://github.com/wjakob/nanobind/issues/782) <https://github.com/wjakob/nanobind/pull/782>).

  • Made handling of return value policies in Eigen type casters more consistent with the rest of nanobind. (Issue [#971](https://github.com/wjakob/nanobind/issues/971) <https://github.com/wjakob/nanobind/issues/971>, commit 5cdf59 <https://github.com/wjakob/nanobind/commit/5cdf58984e7a8b520935c3771029fe0e87edee73>).

  • The Eigen sparse matrix caster now correctly handles scipy.sparse objects

... (truncated)

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

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

---
updated-dependencies:
- dependency-name: nanobind
  dependency-version: 2.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added lang: python PRs or issues related to Python part: dependencies PRs or issues related to dependencies labels Aug 1, 2025
Copy link
Contributor

github-actions bot commented Aug 1, 2025

Test Results

8 tests  ±0   8 ✅ ±0   12s ⏱️ -2s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 3cd247f. ± Comparison against base commit 3f788fa.

@timkpaine timkpaine merged commit 40e796a into main Aug 1, 2025
2 checks passed
@timkpaine timkpaine deleted the dependabot/pip/nanobind-lt-2.9.0 branch August 1, 2025 15:50
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.

1 participant