Skip to content

Commit

Permalink
chore: update to hugr-py 0.3 (#294)
Browse files Browse the repository at this point in the history
Backwards compatible other than an import interface

Does not actually use the new builder yet, to come.
  • Loading branch information
ss2165 authored Jul 9, 2024
1 parent 28264d9 commit 3da3936
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 301 deletions.
3 changes: 2 additions & 1 deletion guppylang/hugr_builder/hugr.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
from typing import Any, Optional

import networkx as nx # type: ignore[import-untyped]
from hugr.serialization import SerialHugr, ops, tys
from hugr.serialization import ops, tys
from hugr.serialization import serial_hugr as raw
from hugr.serialization.ops import OpType
from hugr.serialization.serial_hugr import SerialHugr

from guppylang.tys.subst import Inst
from guppylang.tys.ty import (
Expand Down
Loading

0 comments on commit 3da3936

Please sign in to comment.