Skip to content

⬆️ Update runners#921

Merged
denialhaag merged 7 commits intomainfrom
update-dependencies
Feb 24, 2026
Merged

⬆️ Update runners#921
denialhaag merged 7 commits intomainfrom
update-dependencies

Conversation

@denialhaag
Copy link
Copy Markdown
Member

@denialhaag denialhaag commented Jan 30, 2026

Description

This PR updates the CI to use macos-15 instead of macos-14 and windows-2025 instead of windows-2022.

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.
  • I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.
  • I have added migration instructions to the upgrade guide (if needed).
  • 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 continuous integration Anything related to the CI setup pre-commit labels Jan 30, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in MQT Compilation Jan 30, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 30, 2026

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Updates GitHub Actions CI/CD workflows to use newer macOS (macos-15) and Windows (windows-2025) runners, standardizes some jobs to ubuntu-slim, updates the spdlog dependency from 1.15.3 to 1.17.0, and modifies build wheel exclusions to reflect the new dependency version.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Updates
.github/workflows/cd.yml, .github/workflows/ci.yml, .github/workflows/upstream.yml, .github/workflows/release-drafter.yml, .github/workflows/templating.yml
Updated CI/CD matrices: replaced macos-14 with macos-15, windows-2022 with windows-2025, and switched selected jobs from ubuntu-latest to ubuntu-slim. Added setup-z3: true to upstream workflow.
Build Configuration and Dependencies
pyproject.toml, cmake/ExternalDependencies.cmake, CHANGELOG.md
Bumped spdlog version from 1.15.3 to 1.17.0; extended repair-wheel-command exclusions for updated libspdlog and spdlog binaries; removed manylinux image entries; added changelog entry.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

dependencies, packaging

Suggested reviewers

  • burgholzer

Poem

🐰 With runner hops from old to new,
Macos-15 and windows too,
Spdlog dances, version's bright,
From 1.15 to 1.17's light,
Ubuntu-slim and workflows tight! 🚀

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title mentions updating runners but doesn't clarify the main change: updating macos and windows versions in CI workflows, plus unexpected spdlog and pyproject.toml modifications. Clarify the title to reflect all key changes, such as 'Update CI runners and spdlog version' or split into multiple focused PRs.
✅ Passed checks (2 passed)
Check name Status Explanation
Description check ✅ Passed The description correctly summarizes the main runner updates (macos-14→15, windows-2022→2025) and follows the template structure with a completed checklist, though it doesn't mention spdlog version bump or pyproject.toml changes.
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.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@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`:
- Line 315: The test-command currently uses a relative path "pytest test/python"
which will fail under cibuildwheel's temporary working directory; either change
the test-command to use the project-root placeholder (e.g. "pytest
{project}/test/python") or ensure you add a test-sources entry that copies your
tests into test/python in the build environment so the relative path is valid;
update the pyproject.toml test-command value accordingly or add the matching
test-sources configuration to guarantee the tests are found when cibuildwheel
runs.

Comment thread pyproject.toml Outdated
Copy link
Copy Markdown
Contributor

@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 `@cmake/ExternalDependencies.cmake`:
- Around line 110-116: Remove the multi-config generator guard and ensure
GNUInstallDirs is included so CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR are
defined: add include(GNUInstallDirs) in the top-level CMakeLists before
include(cmake/ExternalDependencies.cmake) and drop the CMAKE_CONFIGURATION_TYPES
guard logic so the block that sets target properties for spdlog can reliably use
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR.

Comment thread cmake/ExternalDependencies.cmake Outdated
Copy link
Copy Markdown
Contributor

@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 @.github/workflows/ci.yml:
- Line 200: The python-tests-extensive job's runner matrix is inconsistent with
the python-tests job: update the runs-on entries for the python-tests-extensive
job (symbol: python-tests-extensive) from "macos-14" and "windows-2022" to
"macos-15" and "windows-2025" to match the PR objective, or if you intentionally
want to exercise older platforms, add a brief inline comment above the
python-tests-extensive job explaining that it intentionally tests on
macos-14/windows-2022 for broader compatibility so reviewers know the
discrepancy is deliberate.

Comment thread .github/workflows/ci.yml
@denialhaag denialhaag mentioned this pull request Feb 1, 2026
8 tasks
@denialhaag denialhaag changed the title ⬆️ Update runners and prek checks ⬆️ Update runners Feb 1, 2026
@denialhaag denialhaag changed the title ⬆️ Update runners ⬆️ Update runners and prek checks Feb 2, 2026
denialhaag added a commit that referenced this pull request Feb 2, 2026
## Description

This PR updates `.pre-commit-config.yml` to make use of `prek`'s
priority feature. The commits were initially part of #921, which is
blocked due to a CD issue.

## Checklist:

- [x] The pull request only contains commits that are focused and
relevant to this change.
- [x] ~I have added appropriate tests that cover the new/changed
functionality.~
- [x] ~I have updated the documentation to reflect these changes.~
- [x] ~I have added entries to the changelog for any noteworthy
additions, changes, fixes, or removals.~
- [x] ~I have added migration instructions to the upgrade guide (if
needed).~
- [x] The changes follow the project's style guidelines and introduce no
new warnings.
- [x] The changes are fully tested and pass the CI checks.
- [x] I have reviewed my own code changes.
@denialhaag denialhaag changed the title ⬆️ Update runners and prek checks ⬆️ Update runners Feb 2, 2026
@denialhaag denialhaag removed dependencies Pull requests that update a dependency file pre-commit labels Feb 13, 2026
Copy link
Copy Markdown
Contributor

@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.

> [!CAUTION]

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/ci.yml (1)

62-81: ⚠️ Potential issue | 🟡 Minor

cpp-tests-windows was not updated to windows-2025, inconsistent with cpp-tests-macos.

cpp-tests-macos was updated to macos-15/macos-15-intel, but cpp-tests-windows still targets windows-2022. The extensive test (cpp-tests-extensive-windows at line 128) already covers both windows-2022 and windows-2025, matching the pattern where extensive tests provide backward-compat coverage while regular tests run on current runners.

If the omission is intentional (e.g., a known MSVC issue on windows-2025), please add an inline comment explaining the intent.

🔧 Proposed fix
     matrix:
-      runs-on: [windows-2022, windows-11-arm]
+      runs-on: [windows-2025, windows-11-arm]
       compiler: [msvc]
       config: [Release]
       include:
-        - runs-on: windows-2022
+        - runs-on: windows-2025
           compiler: msvc
           config: Debug
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/ci.yml around lines 62 - 81, The cpp-tests-windows job
currently targets windows-2022 in its matrix (matrix.runs-on and the include
entry) while cpp-tests-macos was moved to macos-15; update the windows job
(cpp-tests-windows) to use the current runner by replacing occurrences of
"windows-2022" with "windows-2025" in the matrix.runs-on array and in the
include block (and ensure the Debug include maps to the same new runner), and if
this change is intentionally omitted due to a known MSVC/windows-2025 issue,
instead add an inline comment next to the matrix or include explaining that
intent.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In @.github/workflows/ci.yml:
- Around line 62-81: The cpp-tests-windows job currently targets windows-2022 in
its matrix (matrix.runs-on and the include entry) while cpp-tests-macos was
moved to macos-15; update the windows job (cpp-tests-windows) to use the current
runner by replacing occurrences of "windows-2022" with "windows-2025" in the
matrix.runs-on array and in the include block (and ensure the Debug include maps
to the same new runner), and if this change is intentionally omitted due to a
known MSVC/windows-2025 issue, instead add an inline comment next to the matrix
or include explaining that intent.

ℹ️ Review info

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between abcbbba and e403b10.

📒 Files selected for processing (8)
  • .github/workflows/cd.yml
  • .github/workflows/ci.yml
  • .github/workflows/release-drafter.yml
  • .github/workflows/templating.yml
  • .github/workflows/upstream.yml
  • CHANGELOG.md
  • cmake/ExternalDependencies.cmake
  • pyproject.toml

Comment thread pyproject.toml
Copy link
Copy Markdown
Member

@burgholzer burgholzer left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻 thanks for the fixes

@denialhaag denialhaag merged commit 22e19f3 into main Feb 24, 2026
42 checks passed
@denialhaag denialhaag deleted the update-dependencies branch February 24, 2026 09:23
@github-project-automation github-project-automation Bot moved this from In Progress to Done in MQT Compilation Feb 24, 2026
cs-tum-st pushed a commit to cs-tum-st/qmap that referenced this pull request Mar 10, 2026
## Description

This PR updates `.pre-commit-config.yml` to make use of `prek`'s
priority feature. The commits were initially part of munich-quantum-toolkit#921, which is
blocked due to a CD issue.

## Checklist:

- [x] The pull request only contains commits that are focused and
relevant to this change.
- [x] ~I have added appropriate tests that cover the new/changed
functionality.~
- [x] ~I have updated the documentation to reflect these changes.~
- [x] ~I have added entries to the changelog for any noteworthy
additions, changes, fixes, or removals.~
- [x] ~I have added migration instructions to the upgrade guide (if
needed).~
- [x] The changes follow the project's style guidelines and introduce no
new warnings.
- [x] The changes are fully tested and pass the CI checks.
- [x] I have reviewed my own code changes.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants