From 0739ca4b12447637131d3e348820e7a1ca4fe1c6 Mon Sep 17 00:00:00 2001 From: Oscar Higgott <29460323+oscarhiggott@users.noreply.github.com> Date: Thu, 25 Jul 2024 00:17:17 +0000 Subject: [PATCH 1/2] pin to numpy1.x --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c0dfcb9e..521356b3 100644 --- a/setup.py +++ b/setup.py @@ -153,7 +153,7 @@ def build_extension(self, ext): 'console_scripts': ['pymatching=pymatching._cli_argv:cli_argv'], }, python_requires=">=3.7", - install_requires=['scipy', 'numpy', 'networkx', 'matplotlib'], + install_requires=['scipy', 'numpy==1.x', 'networkx', 'matplotlib'], # Needed on Windows to avoid the default `build` colliding with Bazel's `BUILD`. options={'build': {'build_base': 'python_build_stim'}}, ) From aa11c8c06ac49e0c0c12b321ed84cf00c7722d28 Mon Sep 17 00:00:00 2001 From: Oscar Higgott <29460323+oscarhiggott@users.noreply.github.com> Date: Thu, 25 Jul 2024 00:23:19 +0000 Subject: [PATCH 2/2] typo --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 521356b3..adfd89af 100644 --- a/setup.py +++ b/setup.py @@ -153,7 +153,7 @@ def build_extension(self, ext): 'console_scripts': ['pymatching=pymatching._cli_argv:cli_argv'], }, python_requires=">=3.7", - install_requires=['scipy', 'numpy==1.x', 'networkx', 'matplotlib'], + install_requires=['scipy', 'numpy==1.*', 'networkx', 'matplotlib'], # Needed on Windows to avoid the default `build` colliding with Bazel's `BUILD`. options={'build': {'build_base': 'python_build_stim'}}, )