🐛 Fix malformed include directories in exported nlohmann_json CMake targets for component-based installs (#1662)#1663
🐛 Fix malformed include directories in exported nlohmann_json CMake targets for component-based installs (#1662)#1663burgholzer wants to merge 3 commits intomainfrom
nlohmann_json CMake targets for component-based installs (#1662)#1663Conversation
… targets for component-based installs (#1662) ## Description This PR fixes the problems observed with the 3.5.0 release while updating in dependent MQT repositories. There was a malformed include directory install command, that did not even turn out to be necessary (through local testing with QCEC, QMAP, and DDSIM). After this is merged, I will tag the `v3.5.1` release and update the PRs in the dependent repositories. ## Checklist <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [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. **If PR contains AI-assisted content:** - [x] I have disclosed the use of AI tools in the PR description as per our [AI Usage Guidelines](https://github.com/munich-quantum-toolkit/core/blob/main/docs/ai_usage.md). - [x] AI-assisted commits include an `Assisted-by: [Model Name] via [Tool Name]` footer. - [x] I confirm that I have personally reviewed and understood all AI-generated content, and accept full responsibility for it. Signed-off-by: Lukas Burgholzer <burgholzer@me.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 48 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughVersion 3.5.1 patch release is documented with a CMake packaging fix for nlohmann_json exports affecting Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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)
UPGRADING.md (1)
242-248:⚠️ Potential issue | 🟡 MinorMissing version compare link for
[3.5.1].The
[unreleased]link still points tov3.5.0...HEAD, and there is no[3.5.1]link definition in this file. Since the document now references## [3.5.1], the compare link should be added and[unreleased]updated to start fromv3.5.1for the rendered links to resolve.📝 Proposed fix
-[unreleased]: https://github.com/munich-quantum-toolkit/core/compare/v3.5.0...HEAD +[unreleased]: https://github.com/munich-quantum-toolkit/core/compare/v3.5.1...HEAD +[3.5.1]: https://github.com/munich-quantum-toolkit/core/compare/v3.5.0...v3.5.1 [3.5.0]: https://github.com/munich-quantum-toolkit/core/compare/v3.4.0...v3.5.0🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@UPGRADING.md` around lines 242 - 248, Update the link definitions at the bottom so the `[unreleased]` and new `[3.5.1]` references resolve: change `[unreleased]` to start from `v3.5.1...HEAD` instead of `v3.5.0...HEAD`, and add a new `[3.5.1]:` compare link (e.g., `https://github.com/munich-quantum-toolkit/core/compare/v3.5.0...v3.5.1`) so the existing `## [3.5.1]` heading renders correctly.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@CHANGELOG.md`:
- Around line 364-365: The changelog defines an unused markdown reference
`[`#1654`]`; remove the dangling link definition `[`#1654`]:
https://github.com/munich-quantum-toolkit/core/pull/1654` from the bottom of the
CHANGELOG.md or instead add the missing changelog entry that uses `[`#1654`]` in
the body so the reference is consumed; locate the `[`#1654`]` link definition and
either delete that line or insert the corresponding release note that references
`[`#1654`]`.
---
Outside diff comments:
In `@UPGRADING.md`:
- Around line 242-248: Update the link definitions at the bottom so the
`[unreleased]` and new `[3.5.1]` references resolve: change `[unreleased]` to
start from `v3.5.1...HEAD` instead of `v3.5.0...HEAD`, and add a new `[3.5.1]:`
compare link (e.g.,
`https://github.com/munich-quantum-toolkit/core/compare/v3.5.0...v3.5.1`) so the
existing `## [3.5.1]` heading renders correctly.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 79448dda-1af1-4575-87e4-76262d9df1f3
📒 Files selected for processing (3)
CHANGELOG.mdUPGRADING.mdcmake/ExternalDependencies.cmake
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Signed-off-by: Lukas Burgholzer <burgholzer@me.com>
Signed-off-by: Lukas Burgholzer <burgholzer@me.com>
Description
This PR fixes the problems observed with the 3.5.0 release while updating in dependent MQT repositories.
There was a malformed include directory install command, that did not even turn out to be necessary (through local testing with QCEC, QMAP, and DDSIM).
This is essentially the forward port of #1662 and the
v3.5.1release.Checklist
If PR contains AI-assisted content:
Guidelines.
Assisted-by: [Model Name] via [Tool Name]footer.