diff --git a/Dockerfile-dmpk b/Dockerfile-dmpk index 0a7ae4f..c7b8135 100644 --- a/Dockerfile-dmpk +++ b/Dockerfile-dmpk @@ -16,7 +16,9 @@ ENV PYTHONPATH=/code ENV HOME=/code WORKDIR ${HOME} -RUN pip install matplotlib==3.7.1 im-data-manager-job-utilities==1.0.1 +# numpy is pinned below 2 because this matplotlib release predates +# NumPy 2.0 and its compiled extensions are not ABI-compatible with it +RUN pip install "numpy<2" matplotlib==3.7.1 im-data-manager-job-utilities==1.0.1 COPY utils.py ./ COPY dmpk/*.py ./dmpk/ \ No newline at end of file diff --git a/Dockerfile-rdkit-base b/Dockerfile-rdkit-base index 67204ee..6e9e144 100644 --- a/Dockerfile-rdkit-base +++ b/Dockerfile-rdkit-base @@ -13,6 +13,8 @@ RUN apt-get -y update &&\ ENV PYTHONUNBUFFERED=1 # pip install RDKit -RUN pip install rdkit==2023.3.2 +# numpy is pinned below 2 because this rdkit release predates NumPy 2.0 +# and its compiled extensions are not ABI-compatible with it +RUN pip install "numpy<2" rdkit==2023.3.2