Skip to content
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

fix(hugr-py): ops require their own extensions #1303

Merged
merged 2 commits into from
Jul 15, 2024
Merged

fix(hugr-py): ops require their own extensions #1303

merged 2 commits into from
Jul 15, 2024

Conversation

ss2165
Copy link
Member

@ss2165 ss2165 commented Jul 15, 2024

Fixes #1301

@ss2165 ss2165 requested a review from a team as a code owner July 15, 2024 15:57
@ss2165 ss2165 requested review from mark-koch and cqc-alec and removed request for mark-koch July 15, 2024 15:57
Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.23%. Comparing base (cfb0674) to head (ae53a8d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1303   +/-   ##
=======================================
  Coverage   87.23%   87.23%           
=======================================
  Files         107      107           
  Lines       19564    19566    +2     
  Branches    17302    17302           
=======================================
+ Hits        17066    17068    +2     
  Misses       1714     1714           
  Partials      784      784           
Flag Coverage Δ
python 91.43% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ss2165 ss2165 added this pull request to the merge queue Jul 15, 2024
Merged via the queue into main with commit 026bfcb Jul 15, 2024
20 checks passed
@ss2165 ss2165 deleted the ss/fix-py-ops branch July 15, 2024 16:40
doug-q added a commit that referenced this pull request Jul 17, 2024
github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.5.0](hugr-py-v0.4.0...hugr-py-v0.5.0)
(2024-07-29)


### ⚠ BREAKING CHANGES

* Eq type bound removed. References to `Eq` in serialized HUGRs will be
treated as `Copyable`.
* **hugr-core:** All Hugrs serialised with earlier versions will fail to
deserialise
* opaque type parameters replaced with string parameters.

### Features

* **hugr-py:** `AsCustomOp` protocol for user-defined custom op types.
([#1290](#1290))
([1db43eb](1db43eb))
* remove the `Eq` type bound.
([#1364](#1364))
([1218d21](1218d21))
* replace opaque type arguments with String
([#1328](#1328))
([24b2217](24b2217)),
closes [#1308](#1308)
* Serialization upgrade path
([#1327](#1327))
([d493139](d493139))


### Bug Fixes

* add op's extension to signature check in `resolve_opaque_op`
([#1317](#1317))
([01da7ba](01da7ba))
* **hugr-core:** bump serialisation version with no upgrade path
([#1352](#1352))
([657cbb0](657cbb0))
* **hugr-py:** ops require their own extensions
([#1303](#1303))
([026bfcb](026bfcb)),
closes [#1301](#1301)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python tests failing
2 participants