Skip to content

Commit b020c67

Browse files
committed
Pin cvxpy to known-good version
Some diamond-norm tests are failing with the latest 1.4.0 release of cvxpy. Given the complex optimisation problem that the dnorm represents, it's quite possible that randomised tests would already have had a low success rate, and this is just a case of some internal tweaks destabilising the particular operator choice in our test.
1 parent cecb788 commit b020c67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

constraints.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,9 @@ numpy<1.25
1111
# eigensystem code for one of the test cases. See
1212
# https://github.com/Qiskit/qiskit-terra/issues/10345 for current details.
1313
scipy<1.11
14+
15+
# cvxpy 1.4.0 caused an instability in some diamond-norm tests. That's
16+
# likely to be an unreliable measure already given its nature, so this
17+
# pin may be relaxed by modifying the tests slightly to choose known-safe
18+
# operators.
19+
cvxpy==1.3.2

0 commit comments

Comments
 (0)