Repository navigation
Build the nanobind layer as a wheel - #1590
Merged
Merged
Conversation
NAThompson
force-pushed
the
python-wheel
branch
2 times, most recently
from
October 30, 2026 05:25
9f9c722 to
6bce9ba
Compare
pip wheel --no-deps -w dist nanobind gives an abi3 wheel for Python >= 3.12 via scikit-build-core. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NAThompson
force-pushed
the
python-wheel
branch
from
October 30, 2026 05:29
6bce9ba to
09c2757
Compare
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.
pip wheel --no-deps -w dist nanobind gives an abi3 wheel for Python >= 3.12 via scikit-build-core.
nanobind/pyproject.toml(scikit-build-core, nameboost-math, version0.0.1) and install rules forboost/math.STABLE_ABI, withDevelopment.SABIModulerequested so the module really is_ext.abi3.so; one wheel covers 3.12+.Requires Python >= 3.12. Checked on macOS arm64 (
MACOSX_DEPLOYMENT_TARGET=11.0):boost_math-0.0.1-cp312-abi3-macosx_11_0_arm64.whl, 3.2 MB; the one wheel passes all 449 nanobind tests from fresh venvs on Python 3.12.7, 3.13.0 and 3.15.2.Not yet: other platforms (cibuildwheel), sdists (the build reads
../include), a LICENSE file in the wheel, and whetherboost.math.ulpsis included depends on finding Boost.Multiprecision and Boost.Config checked out alongside. Nothing is published.🤖 Generated with Claude Code