Skip to content

Commit 69981d1

Browse files
committed
Force nupy version
1 parent ea0461c commit 69981d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docker/sofabuilder_fedora/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ ARG PYBIND11_VERSION=2.11.1
6868
# && python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
6969
#RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
7070
#RUN python3.10 /tmp/get-pip3.py
71-
RUN python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
71+
RUN python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
7272
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
7373
&& python3.11 /tmp/get-pip3.py \
74-
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
74+
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
7575
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
7676
&& python3.12 /tmp/get-pip3.py \
77-
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
77+
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
7878
ENV PYTHONPATH=""
7979
ENV VM_HAS_ASSIMP="true"
8080
ENV VM_HAS_OPENCASCADE="false"

docker/sofabuilder_ubuntu/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.
7575
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
7676
&& python3.10 /tmp/get-pip3.py \
7777
&& python3.10 -m pip install --upgrade pip \
78-
&& python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
78+
&& python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
7979
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
8080
&& python3.11 /tmp/get-pip3.py \
8181
&& python3.11 -m pip install --upgrade pip \
82-
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
82+
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
8383
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
8484
&& python3.12 /tmp/get-pip3.py \
8585
&& python3.12 -m pip install --upgrade pip \
86-
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
86+
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
8787
ENV VM_HAS_ASSIMP="true"
8888
ENV VM_HAS_OPENCASCADE="true"
8989

0 commit comments

Comments
 (0)