-
Notifications
You must be signed in to change notification settings - Fork 24
feat(internals): update to hugr-py 0.15 #1418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1418 +/- ##
==========================================
+ Coverage 93.51% 93.53% +0.01%
==========================================
Files 127 127
Lines 11535 11535
==========================================
+ Hits 10787 10789 +2
+ Misses 748 746 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9eddd40 to
2c61514
Compare
Contributor
|
| Branch | ss/push-onkpquoxzymr |
| Testbed | Linux |
Click to view all benchmark results
| Benchmark | hugr_bytes | Benchmark Result bytes x 1e3 (Result Δ%) | Upper Boundary bytes x 1e3 (Limit %) | hugr_nodes | Benchmark Result nodes (Result Δ%) | Upper Boundary nodes (Limit %) |
|---|---|---|---|---|---|---|
| tests/benchmarks/test_big_array.py::test_big_array_compile | 📈 view plot 🚷 view threshold | 143.40 x 1e3(-0.10%)Baseline: 143.55 x 1e3 | 144.98 x 1e3 (98.91%) | 📈 view plot 🚷 view threshold | 6,590.00(0.00%)Baseline: 6,590.00 | 6,655.90 (99.01%) |
| tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile | 📈 view plot 🚷 view threshold | 21.67 x 1e3(0.00%)Baseline: 21.67 x 1e3 | 21.89 x 1e3 (99.01%) | 📈 view plot 🚷 view threshold | 606.00(0.00%)Baseline: 606.00 | 612.06 (99.01%) |
2c61514 to
0a8b84c
Compare
croyzor
approved these changes
Jan 7, 2026
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 9, 2026
🤖 I have created a release *beep* *boop* --- ## [0.27.0](guppylang-internals-v0.26.0...guppylang-internals-v0.27.0) (2026-01-08) ### ⚠ BREAKING CHANGES * The first argument to `add_unitarity_metadata` is now named `node` instead of `func`, since its type was raised to allow for more HUGR nodes to be fed. Migration is trivial. * `DiagnosticsRenderer.PREFIX_CONTEXT_LINES` constant has been removed. ### Features * Add qubit hints on Guppy functions, allowing elision when building emulators ([#1378](#1378)) ([b7f10c6](b7f10c6)), closes [#1297](#1297) * Add unsafe array take and put operations ([#1165](#1165)) ([7f342e7](7f342e7)) * **internals:** update to hugr-py 0.15 ([#1418](#1418)) ([cf970ba](cf970ba)) ### Bug Fixes * Add a line break for printing WASM files ([#1386](#1386)) ([495aba5](495aba5)) * added deepcopy in `OverloadedFunctionDef.{check_call,synthesize_call}` ([#1426](#1426)) ([9be6fef](9be6fef)) * **checker:** handle imported ParamDef with aliases in expr_checker ([#1385](#1385)) ([f2838a3](f2838a3)) * Convert symbolic pytket circuits angle inputs into rotations ([#1425](#1425)) ([4724d90](4724d90)) * Ensure errors from `[@wasm](https://github.com/wasm)_module` are rendered correctly ([#1398](#1398)) ([a6a539f](a6a539f)), closes [#1397](#1397) * Fix another wasm diagnostics rendering issue ([#1399](#1399)) ([6604175](6604175)) * Fix Hugr generation for tuples in `Result` and `Either` ([#1395](#1395)) ([f8b0d47](f8b0d47)), closes [#1388](#1388) * improve diagnostics rendering ([#1382](#1382)) ([e7ce7f6](e7ce7f6)) * Stop parsing entrypoints twice ([#1410](#1410)) ([4a167e5](4a167e5)) * Support comptime expressions in generic argument applications ([#1409](#1409)) ([c1aad34](c1aad34)), closes [#1087](#1087) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Seyon Sivarajah <seyon.sivarajah@quantinuum.com>
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.
waiting for tket-exts release: Quantinuum/tket2#1344