-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Encoder metadata in serialized hugr (#955)
Closes #950. Adds a `hugr-rs v0.3.0` or a `hugr-py v0.1.0` label to the serialialised hugrs under the optional `encoder` field. This should help with debuggability and error reporting in the future, for now we just ensure that we start adding the labels. The added field to the schema is backwards-compatible. I had to add a `__version__` field at the root of the python package. This is automatically updated by `release-please`, so it shouldn't be much of an issue. drive-by: force `poetry update` before generating the schema in `just update-schema`, to make sure we are using the same pinned pydantic version as CI.
- Loading branch information
Showing
5 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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