From ebcf182c13879299bfd70beb9a8550fc3ecd0bb6 Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 15 Jul 2025 14:13:35 +0200 Subject: [PATCH] Update numpy version for python over 3.10 --- docker/sofabuilder_fedora/Dockerfile | 4 ++-- docker/sofabuilder_ubuntu/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/sofabuilder_fedora/Dockerfile b/docker/sofabuilder_fedora/Dockerfile index e03ef6a..d5e8916 100644 --- a/docker/sofabuilder_fedora/Dockerfile +++ b/docker/sofabuilder_fedora/Dockerfile @@ -70,10 +70,10 @@ ARG PYBIND11_VERSION=2.11.1 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==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.11 -m pip install numpy==2.2.2 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==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION + && python3.12 -m pip install numpy==2.2.2 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 2907471..a2f02ee 100644 --- a/docker/sofabuilder_ubuntu/Dockerfile +++ b/docker/sofabuilder_ubuntu/Dockerfile @@ -79,11 +79,11 @@ RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \ 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==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen + && python3.11 -m pip install numpy==2.2.2 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen 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==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen + && python3.12 -m pip install numpy==2.2.2 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen ENV VM_HAS_ASSIMP="true" ENV VM_HAS_OPENCASCADE="true"