Skip to content

Commit

Permalink
Update pyquil dependency and remove workaround pinning of quil (#6763)
Browse files Browse the repository at this point in the history
* Unpin the quil package
  The latest release quil-0.13.1 includes binary wheels.
  Wheels were omitted unintentionally before due to a CI error at 
  the quil project.

* Update to pyquil>=4.14.3 as it requires good qcs-sdk-python
  and remove thus unnecessary version spec for qcs-sdk-python.

Fixes: #6754
  • Loading branch information
pavoljuhas authored Oct 15, 2024
1 parent e8e53da commit 01b0c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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: #6754 - adjust or remove the quil pin
RUN pip3 install cirq "quil<0.13.0"
RUN pip3 install cirq

##cirq pre_release image
FROM cirq_base AS cirq_pre_release
# TODO: #6754 - adjust or remove the quil pin
RUN pip3 install cirq~=1.0.dev "quil<0.13.0"
RUN pip3 install cirq~=1.0.dev
8 changes: 1 addition & 7 deletions cirq-rigetti/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
pyquil>=4.11.0,<5.0.0

# TODO: #6754 - adjust or remove if binary wheels are provided again
quil<0.13.0

# TODO - remove once pyquil requires qcs-sdk-python >= 0.20.1
qcs-sdk-python>=0.20.1
pyquil>=4.14.3,<5.0.0

0 comments on commit 01b0c12

Please sign in to comment.