diff --git a/pytket/docs/changelog.rst b/pytket/docs/changelog.rst index c00957af76..1812c38873 100644 --- a/pytket/docs/changelog.rst +++ b/pytket/docs/changelog.rst @@ -27,6 +27,7 @@ Fixes: targets. * When adding operations to a circuit, check for invalid wires before adding a vertex to the circuit. +* Restrict scipy version to 1.12.x to avoid quimb-related errors from zx module. 1.26.0 (March 2024) ------------------- diff --git a/pytket/setup.py b/pytket/setup.py index 4d991ff639..e384d5c2e3 100755 --- a/pytket/setup.py +++ b/pytket/setup.py @@ -194,7 +194,7 @@ def finalize_options(self): "sympy ~=1.6", "numpy >=1.21.4, <2.0", "lark-parser ~=0.7", - "scipy >=1.7.2, <2.0", + "scipy ~=1.12.0", "networkx >= 2.8.8", "graphviz ~= 0.14", "jinja2 ~= 3.0",