Skip to content
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

Update nb::ndarray constructor in preparation of next nanobind release #799

Merged
merged 3 commits into from
Apr 18, 2024

Conversation

francesco-ballarin
Copy link
Member

Due to wjakob/nanobind@937a1df which dropped a default value

Not supposed to be merged until the next nanobind release. Coupled with FEniCS/dolfinx#3105

… have a default value. Assign the former default value everywhere in nb wrappers
@francesco-ballarin francesco-ballarin added nanobind Issues related to nanobindings backport? Suggest PR for backporting labels Apr 13, 2024
@francesco-ballarin francesco-ballarin added this to the v0.9.0 milestone Apr 13, 2024
@francesco-ballarin
Copy link
Member Author

francesco-ballarin commented Apr 13, 2024

To clarify: in contrast to the nanobind change addressed in the first commit of FEniCS/dolfinx#3105, the nanobind change addressed here is backward compatible: in principle, the PR could be marked as ready to review (and not draft), but I won't do that because the change introduced here isn't necessary for the current nanobind release.

@garth-wells
Copy link
Member

@francesco-ballarin I think we should merge this - it will keep the Basix working when nanobind 2.0 is released.

@jhale jhale marked this pull request as ready for review April 18, 2024 08:23
@jhale jhale modified the milestones: v0.9.0, v0.8.0 Apr 18, 2024
@jhale jhale added this pull request to the merge queue Apr 18, 2024
Merged via the queue into main with commit 6099a92 Apr 18, 2024
21 checks passed
@jhale jhale deleted the nb-ndarray branch April 18, 2024 09:01
@jhale jhale restored the nb-ndarray branch April 21, 2024 17:06
@garth-wells garth-wells deleted the nb-ndarray branch May 23, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport? Suggest PR for backporting nanobind Issues related to nanobindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants