Conversation
📝 WalkthroughSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings. WalkthroughRepository infrastructure is modernized through GitHub Actions runner version updates (macos-15, windows-2025, ubuntu-slim), comprehensive reorganization of pre-commit hooks with explicit priority levels for execution control, and tightening of the nanobind dependency constraint from flexible to patch-level matching. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
pyproject.toml (1)
10-15:⚠️ Potential issue | 🟡 MinorClarify why nanobind is pinned to
~=2.10.2, or relax to allow 2.11.0+.nanobind 2.11.0 (released Jan 29, 2026) has no documented API-breaking changes and is backward-compatible at the source level. While it includes an ABI version bump (17→18), this only matters if qudits shares nanobind-based extension modules with other packages at the ABI level. For a single project, the ABI change is not a blocker.
If the pin serves no specific purpose, consider relaxing it to
>=2.10.2to benefit from 2.11.0's performance improvements and bug fixes, maintaining consistency with the practice of keeping dependencies as flexible as possible.
🤖 Fix all issues with AI agents
In @.pre-commit-config.yaml:
- Around line 3-71: The pre-commit.ci-compatible pre-commit config must not
include prek-specific "priority" keys; update .pre-commit-config.yaml by either
removing all "priority:" entries (e.g., under hooks like check-merge-conflict,
end-of-file-fixer, typos, sp-repo-review and the local disallow-caps hook) so
the file is valid for pre-commit/pre-commit.ci, or if you intend to use
prek-only, remove the entire "ci:" section that enables pre-commit.ci and update
README/docs accordingly to state the repo uses prek instead of pre-commit.ci.
Description
This PR updates the CI to use
macos-15instead ofmacos-14andwindows-2025instead ofwindows-2022. It furthermore updates.pre-commit-config.ymlto make use ofprek's priority feature.Checklist:
I have added appropriate tests that cover the new/changed functionality.I have updated the documentation to reflect these changes.