From 7cd492922af89c080eefb2e9fa38f9d57ef62665 Mon Sep 17 00:00:00 2001 From: Tanuj Khattar Date: Mon, 19 Dec 2022 10:56:00 -0800 Subject: [PATCH 1/2] Restrict numpy version to 1.23 --- cirq-core/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirq-core/requirements.txt b/cirq-core/requirements.txt index 8765fb06bfd..52d0aa29198 100644 --- a/cirq-core/requirements.txt +++ b/cirq-core/requirements.txt @@ -6,7 +6,7 @@ backports.cached_property~=1.0.1; python_version < '3.8' duet~=0.2.7 matplotlib~=3.0 networkx~=2.4 -numpy~=1.16 +numpy>=1.16,<=1.23 pandas sortedcontainers~=2.0 scipy From c7404da84a802428fb5c01f3d819e355b8aa21b9 Mon Sep 17 00:00:00 2001 From: Tanuj Khattar Date: Mon, 19 Dec 2022 11:08:24 -0800 Subject: [PATCH 2/2] Restrict to < 1.24 instead of <= 1.23 --- cirq-core/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cirq-core/requirements.txt b/cirq-core/requirements.txt index 52d0aa29198..e26eef68637 100644 --- a/cirq-core/requirements.txt +++ b/cirq-core/requirements.txt @@ -6,7 +6,7 @@ backports.cached_property~=1.0.1; python_version < '3.8' duet~=0.2.7 matplotlib~=3.0 networkx~=2.4 -numpy>=1.16,<=1.23 +numpy>=1.16,<1.24 pandas sortedcontainers~=2.0 scipy