Skip to content

⬆️ Update runners and prek checks#256

Merged
denialhaag merged 4 commits intomainfrom
update-dependencies
Jan 31, 2026
Merged

⬆️ Update runners and prek checks#256
denialhaag merged 4 commits intomainfrom
update-dependencies

Conversation

@denialhaag
Copy link
Member

@denialhaag denialhaag commented Jan 30, 2026

Description

This PR updates the CI to use macos-15 instead of windows-14 and windows-2025 instead of macos-2022. It furthermore updates .pre-commit-config.yml to make use of prek's priority feature.

Checklist:

  • The pull request only contains commits that are focused and relevant to this change.
  • I have added appropriate tests that cover the new/changed functionality.
  • I have updated the documentation to reflect these changes.
  • The changes follow the project's style guidelines and introduce no new warnings.
  • The changes are fully tested and pass the CI checks.
  • I have reviewed my own code changes.

@denialhaag denialhaag self-assigned this Jan 30, 2026
@denialhaag denialhaag added dependencies Pull requests that update a dependency file pre-commit Any updates related to pre-commit continuous integration Anything related to the CI setup labels Jan 30, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 30, 2026

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated CI/CD infrastructure to test on newer operating system versions (macOS 15, Windows 2025)
    • Enhanced code quality checks with additional validation tools for schemas, spelling, and licensing
    • Refined build system configuration for improved stability

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

This PR updates GitHub Actions runner OS versions across multiple workflows (macos-14 → macos-15, windows-2022 → windows-2025, ubuntu-latest → ubuntu-slim), restructures the pre-commit configuration with prioritized hook execution and new hook repositories, and relaxes the nanobind dependency version constraint.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Updates
.github/workflows/cd.yml, .github/workflows/ci.yml, .github/workflows/upstream.yml
Updated CI/CD runner matrices: replaced macos-14 with macos-15 (added macos-15-intel variant), replaced windows-2022 with windows-2025. Adjusted matrix inclusion blocks accordingly.
GitHub Actions Runner Configuration
.github/workflows/release-drafter.yml, .github/workflows/templating.yml
Changed runner from ubuntu-latest to ubuntu-slim for respective jobs; no logic or step modifications.
Pre-commit Hook Infrastructure
.pre-commit-config.yaml
Comprehensive restructuring: introduced priority-based hook execution (levels 0–3), added new hook repositories (validate-pyproject, check-jsonschema, typos, cmake-format, prettier, ruff, bibtex-tidy, uv-lock), removed multiple legacy hooks, and reorganized sections with descriptive headers.
Build System Configuration
pyproject.toml
Relaxed nanobind version constraint from >=2.10.2 to ~=2.10.2 (compatible-release semantics); added PC170 deprecation entry to repo-review ignore list.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 The runners hop to newer ground,
macOS-15 and Windows-2025 abound!
Pre-commit hooks now dance in line,
With priorities set, so clean and fine.
Nanobind breathes a looser embrace—
Infrastructure blooms at a steady pace! 🌱

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title mentions updating runners and 'prek' checks, which aligns with the main changes: runner version updates and .pre-commit-config updates to use priority features.
Description check ✅ Passed The description covers the main changes (runner updates and prek priority feature), includes a completed checklist, and appropriately marks non-applicable items as struck-through.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-dependencies

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@denialhaag denialhaag requested a review from burgholzer January 30, 2026 17:39
@denialhaag denialhaag enabled auto-merge (squash) January 30, 2026 18:21
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@pyproject.toml`:
- Around line 312-316: The nanobind version constraint is duplicated between
[build-system].requires and [dependency-groups].build (the "nanobind~=2.10.2"
entry); add a clear inline comment next to the duplicated entry and/or add a
short note to the repository CONTRIBUTING.md explaining that
[build-system].requires and [dependency-groups].build must be kept in sync when
updating nanobind (and similarly linked build deps), and include which
file/section to update to avoid future drift.

@denialhaag denialhaag merged commit 3dd093f into main Jan 31, 2026
68 of 70 checks passed
@denialhaag denialhaag deleted the update-dependencies branch January 31, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

continuous integration Anything related to the CI setup dependencies Pull requests that update a dependency file pre-commit Any updates related to pre-commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants