diff --git a/Dockerfile-ray-node b/Dockerfile-ray-node index e5076a808..2c7b7dc98 100644 --- a/Dockerfile-ray-node +++ b/Dockerfile-ray-node @@ -4,6 +4,13 @@ RUN microdnf install -y \ python3.11-devel-3.11.9 \ wget-1.21.1 RUN microdnf clean all + +# Custom part to install from source Qiskit +RUN microdnf install -y git +RUN microdnf install -y gcc +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +ENV PATH="/root/.cargo/bin:${PATH}" + RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \ ln -s /usr/bin/python3.11 /usr/local/bin/python &&\ ln -s /usr/bin/pip3.11 /usr/local/bin/pip3 &&\ diff --git a/client/requirements.txt b/client/requirements.txt index 015fd0f20..2fe6c6296 100644 --- a/client/requirements.txt +++ b/client/requirements.txt @@ -1,7 +1,7 @@ ray[default,data]>=2.30.0, <2.35.0 requests>=2.32.2, <3 importlib-metadata>=5.2.0, <9 -qiskit>=1.0.2 +qiskit @ git+https://github.com/Qiskit/qiskit.git@main qiskit-ibm-runtime>=0.29.0 # Make sure ray node and notebook node have the same version of cloudpickle cloudpickle==2.2.1