Skip to content

Commit

Permalink
Update pybind11 version for all python version
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Jun 26, 2024
1 parent 22c3afd commit 4d4eda5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker/sofabuilder_fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN yum install -y -q \
ENV VM_BUILDS_IMGUI="false"

# Install pip, numpy, scipy, pybind11
ARG PYBIND11_VERSION=2.9.1
ARG PYBIND11_VERSION=2.11.1
#RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
# && python2.7 /tmp/get-pip2.py \
# && python2.7 -m pip install --upgrade "pip == 20.3.4" \
Expand Down
6 changes: 3 additions & 3 deletions docker/sofabuilder_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ RUN apt-get install -y \

ENV VM_BUILDS_IMGUI="true"
# Install pip, numpy, scipy, pybind11
ARG PYBIND11_VERSION=2.9.1
ARG PYBIND11_VERSION=2.11.1
RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
&& python2.7 /tmp/get-pip2.py \
&& python2.7 -m pip install --upgrade "pip == 20.3.4" \
Expand All @@ -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 scipy matplotlib pybind11==2.11.1
&& python3.11 -m pip install numpy 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==2.11.1
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="true"

Expand Down

0 comments on commit 4d4eda5

Please sign in to comment.