Skip to content

Commit

Permalink
revert pyzx to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shinich1 committed Feb 23, 2025
1 parent 0fbea99 commit cfb6e51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: daily
time: "13:00"
interval: monthly
groups:
python-packages:
patterns:
- "*"
- "*"
ignore:
- dependency-name: "pyzx"
2 changes: 1 addition & 1 deletion graphix/pyzx.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def to_pyzx_graph(og: OpenGraph) -> BaseGraph[int, tuple[int, int]]:
g = Graph()

# Add vertices into the graph and set their type
def add_vertices(n: int, ty: VertexType) -> list[VertexType]:
def add_vertices(n: int, ty: VertexType.Type) -> list[VertexType]:
verts = g.add_vertices(n)
for vert in verts:
g.set_type(vert, ty)
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ qiskit-aer
rustworkx

# Optional dependency. Pinned due to version changes often being incompatible
pyzx==0.9.0
pyzx==0.8.0

0 comments on commit cfb6e51

Please sign in to comment.