Skip to content

Commit facee10

Browse files
pavoljuhasrht
authored andcommitted
Bump up the minimum required version of ply (quantumlib#5890)
Avoid the test failure in `sycamore_gate_test.py` such as follows: ``` $ pytest -x -q cirq-google/cirq_google/ops/sycamore_gate_test.py::test_consistent_protocols ... if not optimize: if linfo.validate_all(): > raise SyntaxError("Can't build lexer") E SyntaxError: Can't build lexer /tmp/t39/lib/python3.9/site-packages/ply/lex.py:894: SyntaxError -------------------------------------------- Captured stderr call -------------------------------------------- ERROR: /tmp/t39/lib/python3.9/site-packages/qiskit/qasm/qasmlexer.py:191: No regular expression defined for rule 't_eof' ```
1 parent 370a420 commit facee10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/contrib/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Runtime requirements for contrib.
22

3-
ply>=3.4
3+
ply>=3.6
44
pylatex~=1.3.0
55

66
# quimb

0 commit comments

Comments
 (0)