Skip to content

Update nanobind requirement from <2.5.0 to <2.7.0 #34

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
Apr 1, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Updates the requirements on nanobind to permit the latest version.

Changelog

Sourced from nanobind's changelog.

Version 2.6.1 (Mar 28, 2025)

  • nanobind assigns an ABI tag to compiled extensions and uses it to isolate incompatible extensions from each other. This tag was unnecessarily fine-grained, often causing isolation where an actual ABI compatibility was not present. This release updates the tagging scheme to address this long-standing inconvenience. (PR [#778](https://github.com/wjakob/nanobind/issues/778) <https://github.com/wjakob/nanobind/pull/778>__).

  • Added specialized function dispatchers to accelerate calls to 0 and 1-argument functions. (PR [#944](https://github.com/wjakob/nanobind/issues/944) <https://github.com/wjakob/nanobind/pull/944>__).

  • Improved the efficiency of :cpp:func:nb::getattr(obj, key, default) <getattr> in cases where obj[key] does exist. (commit bb05f5 <https://github.com/wjakob/nanobind/commit/bb05f5503aef9b70498302bf30bf958e8cc605c7>__).

  • ABI version 16.

  • Miscellaneous fixes and improvements (PRs [#913](https://github.com/wjakob/nanobind/issues/913) <https://github.com/wjakob/nanobind/pull/913>, [#914](https://github.com/wjakob/nanobind/issues/914) <https://github.com/wjakob/nanobind/pull/914>, [#916](https://github.com/wjakob/nanobind/issues/916) <https://github.com/wjakob/nanobind/pull/916>, [#931](https://github.com/wjakob/nanobind/issues/931) <https://github.com/wjakob/nanobind/pull/931>, [#978](https://github.com/wjakob/nanobind/issues/978) <https://github.com/wjakob/nanobind/pull/978>, commit 1595d2 <https://github.com/wjakob/nanobind/commit/1595d2d40717d65835ed984b06cfc2b4da0e4858>).

Version 2.6.0 (Mar 28, 2025)

  • This release was yanked due to a regression.

Version 2.5.0 (Feb 2, 2025)

  • Added :cpp:class:nb::def_visitor\<..\> <def_visitor>, which can be used to define your own binding logic that operates on a :cpp:class:nb::class_\<..\> <class_> when an instance of the visitor object is passed to :cpp:func:class_::def(). This generalizes the mechanism used by :cpp:class:init, :cpp:class:new_, etc, so that you can create binding abstractions that "feel like" the built-in ones. (PR [#884](https://github.com/wjakob/nanobind/issues/884) <https://github.com/wjakob/nanobind/pull/884>__)

  • Added some special forms for :cpp:class:nb::typed\<T, Ts...\> <typed> (PR [#835](https://github.com/wjakob/nanobind/issues/835) <https://github.com/wjakob/nanobind/pull/835>__):

    • nb::typed<nb::object, T> or nb::typed<nb::handle, T> produces a parameter or return value that will be described like T in function

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

---
updated-dependencies:
- dependency-name: nanobind
  dependency-version: 2.6.1
  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 Apr 1, 2025
Copy link
Contributor

github-actions bot commented Apr 1, 2025

Test Results

8 tests  ±0   8 ✅ ±0   10s ⏱️ ±0s
1 suites ±0   0 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit ba98c5c. ± Comparison against base commit 1a13d0a.

@timkpaine timkpaine merged commit 39fc6d3 into main Apr 1, 2025
13 checks passed
@timkpaine timkpaine deleted the dependabot/pip/nanobind-lt-2.7.0 branch April 1, 2025 15:24
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