diff --git a/constraints.txt b/constraints.txt index 5d9636415de9..07b9862e426c 100644 --- a/constraints.txt +++ b/constraints.txt @@ -2,6 +2,11 @@ # 4.0+. The pin can be removed after nbformat is updated. jsonschema==3.2.0 +# Numpy 1.25 deprecated some behaviours that we used, and caused the isometry +# tests to flake. See https://github.com/Qiskit/qiskit-terra/issues/10305, +# remove pin when resolving that. +numpy<1.25 + # Scipy 1.11 seems to have caused an instability in the Weyl coordinates # eigensystem code for one of the test cases. See # https://github.com/Qiskit/qiskit-terra/issues/10345 for current details.