Skip to content

chore: example hygiene (requires-python, pins, gitignore)#50

Merged
henryiii merged 1 commit into
mainfrom
fix/examples-hygiene
Jul 13, 2026
Merged

chore: example hygiene (requires-python, pins, gitignore)#50
henryiii merged 1 commit into
mainfrom
fix/examples-hygiene

Conversation

@henryiii

Copy link
Copy Markdown
Contributor

🤖 AI text below 🤖

  • Add requires-python = ">=3.14" to the 2_02_binding (simpleclass, vectorclass, pybind11, nanobind) and 5_01_plugin/hatchling example pyprojects — silences uv run warnings; uv lock produced no lockfile changes (already recorded >=3.14).
  • Pin unpinned scikit-build-core to >=1 in examples/4_04_editable_installs and examples/5_01_plugin/hatchling, and mirror the pin in the teaching snippets (04_editable_installs, 01_plugin hatchling + setuptools, and the matching slides).
  • slides/2_02_binding.md: drop the stale "header-only" claim about nanobind in the summary (nanobind compiles a libnanobind component), matching the wording already used in PR docs: fix factual and consistency issues #48.
  • .gitignore: ignore dist/ (root, from uv build) and .pixi/ (examples/2_04_rust_pyo3, for standalone copies).

Add requires-python = ">=3.14" to example pyprojects that lacked it,
pin unpinned scikit-build-core deps to >=1 (in examples and the teaching
snippets that mirror them), drop the stale "header-only" claim about
nanobind in the binding slides, and ignore dist/ (root) and .pixi/
(rust example) so uv build / pixi litter stays untracked.

Assisted-by: ClaudeCode:claude-opus-4-8
@henryiii
henryiii merged commit aa03d53 into main Jul 13, 2026
3 checks passed
@henryiii
henryiii deleted the fix/examples-hygiene branch July 13, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant