From 69981d1a0b36a839fbbb7c52f006212665ab4b3f Mon Sep 17 00:00:00 2001 From: bakpaul Date: Wed, 10 Jul 2024 18:07:42 +0200 Subject: [PATCH] Force nupy version --- docker/sofabuilder_fedora/Dockerfile | 6 +++--- docker/sofabuilder_ubuntu/Dockerfile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/sofabuilder_fedora/Dockerfile b/docker/sofabuilder_fedora/Dockerfile index 0cf178b..9a9e9a6 100644 --- a/docker/sofabuilder_fedora/Dockerfile +++ b/docker/sofabuilder_fedora/Dockerfile @@ -68,13 +68,13 @@ ARG PYBIND11_VERSION=2.11.1 # && python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5" #RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py #RUN python3.10 /tmp/get-pip3.py -RUN python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION +RUN python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ && python3.11 /tmp/get-pip3.py \ - && python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ && python3.12 /tmp/get-pip3.py \ - && python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION ENV PYTHONPATH="" ENV VM_HAS_ASSIMP="true" ENV VM_HAS_OPENCASCADE="false" diff --git a/docker/sofabuilder_ubuntu/Dockerfile b/docker/sofabuilder_ubuntu/Dockerfile index 8268d7f..51f9f2b 100644 --- a/docker/sofabuilder_ubuntu/Dockerfile +++ b/docker/sofabuilder_ubuntu/Dockerfile @@ -75,15 +75,15 @@ RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2. RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ && python3.10 /tmp/get-pip3.py \ && python3.10 -m pip install --upgrade pip \ - && python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ && python3.11 /tmp/get-pip3.py \ && python3.11 -m pip install --upgrade pip \ - && python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ && python3.12 /tmp/get-pip3.py \ && python3.12 -m pip install --upgrade pip \ - && python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION ENV VM_HAS_ASSIMP="true" ENV VM_HAS_OPENCASCADE="true"