Repository navigation
docs: fix and modernize week 9 bindings content - #118
Merged
Merged
Conversation
Fix text errors in the shared objects, CPython, pybind11, and Rust chapters. Update the examples to pybind11 3, PyO3 0.30, maturin 1.16, and scikit-build-core 0.11. Add cmake to the environment. Assisted-by: ClaudeCode:claude-fable-5-2
henryiii
force-pushed
the
chore/week09-modernize
branch
from
November 10, 2026 16:30
e0dc3c9 to
d5cf836
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.
🤖 AI text below 🤖
Review of the week 9 (bindings) material before class.
CPATHline that points to a path that does not exist with Command Line Tools only. The limited API example now targets 3.11.04-example: usepy::module_andPYBIND11_OVERRIDE_PURE*in place of the deprecated names,find_package(pybind11 CONFIG REQUIRED), CMake range up to 4.4,scikit-build-core>=0.11,pybind11>=3.05-embed: pybind11 3.1.0.squaretook two arguments and multiplied them; it now matches the chapter. PyO3 0.30.1, maturin 1.16, regeneratedCI.yml. The chapter shows the declarative module first, asmaturin newnow generates it, and no longer needs[tool.maturin].cmaketopixi.tomlandenvironment.yml(the Minuit2 notebook calls it directly), raise the pybind11 and scikit-build-core minimums, updatepixi.lock.Checked locally: the four notebooks execute, and the Rust, embed, and
04-exampleprojects build. The limited API exercise producespysimple.abi3.so.