Pin Numpy to less than 1.25 in CI (#10306)

We are not (should not be) fundamentally incompatible with Numpy 1.25,
there are just new deprecation warnings and seemingly some behavioural
changes that are causing flakiness in the isometry CI.  This temporarily
pins Numpy to allow people to continue working while we address the root
cause.
This commit is contained in:
Jake Lishman 2023-06-19 12:23:33 +01:00 committed by GitHub
parent c1866956b2
commit b8a4448c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -5,3 +5,8 @@ jsonschema==3.2.0
# Aer 0.12.1 has a bad value in the results output that prevents pickling.
# Remove pin once https://github.com/Qiskit/qiskit-aer/pull/1845 is released.
qiskit-aer==0.12.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