feat: upgrade to hugr v0.27.1#1568
Merged
Merged
Conversation
This reverts commit eb929c4.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1568 +/- ##
==========================================
+ Coverage 83.70% 84.04% +0.34%
==========================================
Files 188 188
Lines 29036 29121 +85
Branches 27932 27995 +63
==========================================
+ Hits 24304 24475 +171
+ Misses 3569 3473 -96
- Partials 1163 1173 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…-impl-trait-result-in-different-opaque-types errors
cqc-alec
approved these changes
May 7, 2026
This was referenced May 8, 2026
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mostly this was straightforward, with only
scope.rsrequiring a switch from portgraph algorithms to petgraph.That is, until
command.rsandCommandIterator, which raise many problems with SchedulingGraph. I tried a few other approaches simulating API changes to Hugr but these only worked if Hugr were to expose many more details of the internals of SchedulingGraph than desired. However, Circuit and CommandIterator are planned for removal anyway, so instead I've left CommandIterator using the deprecatedregion_portgraphwith a comment about the various things we can do when region_portgraph is removed (if CommandIterator hasn't been removed first).