From d02996e085b421310f7ba27e84baafa0939b18a3 Mon Sep 17 00:00:00 2001 From: Tom Peham Date: Mon, 1 Jul 2024 16:14:59 +0200 Subject: [PATCH] Restrict numpy to version < 2. (#236) ## Description New numpy version break binary compatibility with Cython. For now we restrict numpy version until this issue is fixed. ## Checklist: - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. --------- Signed-off-by: Lukas Burgholzer Co-authored-by: Lukas Burgholzer --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 72a32638..96884f83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dependencies = [ "z3-solver>=4.11,<4.14", "qecsim", "ldpc>=0.1.50", - "numpy", + "numpy < 2", # some of our dependencies are not yet compatible with numpy 2.0 "qiskit[qasm3-import]>=1.0.0", "qiskit-aer>=0.14.0", "bposd",