From 7f67861364ae5c5c67e0269361f23ce2c7679b94 Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Mon, 7 Apr 2025 21:56:11 -0700 Subject: [PATCH] Unpin the qcs-sdk-python dependency The recent release qcs-sdk-python-0.21.18 should be fixed per https://github.com/rigetti/qcs-sdk-rust/issues/531#issuecomment-2711650452 This rolls back #7127 and #7126 --- Dockerfile | 6 ++---- cirq-rigetti/requirements.txt | 3 --- dev_tools/notebooks/isolated_notebook_test.py | 3 --- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index aa45ee075ba..1b5e13c5977 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,8 @@ RUN rm -f /usr/bin/python \ && ln -s /usr/bin/python3 /usr/bin/python #cirq stable image FROM cirq_base AS cirq_stable -# TODO: adjust after the fix of https://github.com/rigetti/qcs-sdk-rust/issues/531 -RUN pip3 install cirq "qcs-sdk-python<=0.21.12" +RUN pip3 install cirq ##cirq pre_release image FROM cirq_base AS cirq_pre_release -# TODO: adjust after the fix of https://github.com/rigetti/qcs-sdk-rust/issues/531 -RUN pip3 install cirq~=1.0.dev "qcs-sdk-python<=0.21.12" +RUN pip3 install --upgrade cirq~=1.0.dev diff --git a/cirq-rigetti/requirements.txt b/cirq-rigetti/requirements.txt index 836a644be6b..48211460476 100644 --- a/cirq-rigetti/requirements.txt +++ b/cirq-rigetti/requirements.txt @@ -1,4 +1 @@ pyquil>=4.14.3,<5.0.0 - -# TODO: remove after the fix of https://github.com/rigetti/qcs-sdk-rust/issues/531 -qcs-sdk-python<=0.21.12 diff --git a/dev_tools/notebooks/isolated_notebook_test.py b/dev_tools/notebooks/isolated_notebook_test.py index c01f178bae0..ff072037356 100644 --- a/dev_tools/notebooks/isolated_notebook_test.py +++ b/dev_tools/notebooks/isolated_notebook_test.py @@ -87,9 +87,6 @@ "jupyter", # assumed to be part of colab "seaborn~=0.12", - # TODO: remove after the fix of https://github.com/rigetti/qcs-sdk-rust/issues/531 - "qcs-sdk-python<=0.21.12", - "numpy~=1.25", ]