From 96d40bdf3b3c438f25dd5228dc8bd5c223c43c48 Mon Sep 17 00:00:00 2001 From: Jake Lishman Date: Fri, 24 Nov 2023 11:08:34 +0000 Subject: [PATCH] Relax CI pin on Numpy < 1.25 The release of Numpy 1.26.1 included an upstream patch to fix a bug in the compiled SIMD versions of complex multiplication loops on macOS, and we have fixed the deprecation warnings and new CI flakiness on our side caused by it, so it should now be safe to relax the pin. --- constraints.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/constraints.txt b/constraints.txt index ef4197223893..413e1f94b057 100644 --- a/constraints.txt +++ b/constraints.txt @@ -2,11 +2,6 @@ # 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; python_version<'3.12' - # 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.