feat: Upgrade guppylang, tket, & hugr for guppylang v1#4
Open
cgh-qtnm wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Upgrades the project’s dependency stack to target guppylang v1-compatible releases (including tket-exts and hugr) and aligns the project with Python 3.12+. The only runtime code change removes the ENGINE.register_extension(...) call that was previously executed during decoration.
Changes:
- Bump Python requirement to
>=3.12and update dependency constraints to guppylang/guppylang-internals~=1.0.0rc1, hugr~=0.18.0, and tket-exts~=0.14.0. - Allow pre-releases in uv configuration and lockfile to enable resolving RC/alpha packages.
- Remove extension registration call from
ext_module_decorator-produced decorator.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
uv.lock |
Regenerates lock for Python 3.12+ and updated upper-stack packages; enables prerelease resolution. |
pyproject.toml |
Updates Python/version constraints and adds uv prerelease configuration. |
src/guppy_gpu/decorator.py |
Removes ENGINE.register_extension(QSYSTEM_GPU_EXTENSION) from the decorator path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cgh-qtnm
marked this pull request as draft
July 17, 2026 17:25
cgh-qtnm
marked this pull request as ready for review
July 17, 2026 17:30
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.
Upgraded the upper-stack dependencies to guppylang v1 and compatible, and increased
requires-pythonto 3.12. The only code change is the removal ofregister_extension.