Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into conj
Browse files Browse the repository at this point in the history
  • Loading branch information
babacry committed Mar 6, 2025
2 parents 740a2eb + aa2b025 commit 8e5b1cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteract

# Configure UTF-8 encoding.
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# Make python3 default
RUN rm -f /usr/bin/python \
&& ln -s /usr/bin/python3 /usr/bin/python
#cirq stable image
FROM cirq_base AS cirq_stable
RUN pip3 install cirq
# 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"

##cirq pre_release image
FROM cirq_base AS cirq_pre_release
RUN pip3 install cirq~=1.0.dev
# 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"
3 changes: 3 additions & 0 deletions cirq-rigetti/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
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

0 comments on commit 8e5b1cf

Please sign in to comment.