Try nanobind 3 split mode - #92
Open
jdumas wants to merge 4 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Try nanobind 3's new split mode using the
3.0.0.dev3development release:lagrange_pythonwithBACKEND_MODULE nanobind_backendnanobind-backend==1.0.0.dev3while development releases have version-specific platform ABIscp310-abi3wheel per platformcp310-*build selectorReferences:
Related Issue
N/A — this is an experimental PR to exercise nanobind 3 split mode and its wheel CI.
Motivation and Context
Split mode separates nanobind's stable-ABI frontend from its version-specific backend. This should reduce Lagrange's wheel matrix to one wheel per platform while retaining a version-specific nanobind backend.
How Has This Been Tested?
uv build --wheel; it was taggedcp310-abi3and containedlagrange/lagrange.abi3.so.nanobind-backend==1.0.0.dev3.actionlinton.github/workflows/wheel.yaml.clang-format --dry-run --Werroron the changed C++ files.git diff --check.Screenshots (if appropriate):
N/A
Types of changes
Checklist: