Skip to content

Commit

Permalink
Force numpy<2 in all dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
julesghub committed Dec 9, 2024
1 parent 99aa441 commit 4bdcefa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/development/docker/lavavu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ RUN apt-get update -qq \
python3-minimal \
python3-venv \
python3-pip \
python3-numpy \
libpng16-16t64 \
libjpeg8 \
libtiff-dev \
Expand Down Expand Up @@ -87,6 +86,7 @@ USER $NB_USER
RUN /usr/bin/python3 -m venv --system-site-packages ${VIRTUAL_ENV}
RUN pip3 install -U setuptools \
&& pip3 install --no-cache-dir \
"numpy<2" \
packaging \
appdirs \
jupyter \
Expand Down
4 changes: 2 additions & 2 deletions docs/development/docker/petsc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ RUN apt-get update -qq \
&& rm -rf /var/lib/apt/lists/*

RUN pip3 install --no-cache-dir \
cython \
"cython==3.0.10" \
"numpy<2"
mpi4py \
'numpy<2'

# get petsc
ARG PETSC_VERSION="3.22.2"
Expand Down
4 changes: 3 additions & 1 deletion docs/development/docker/underworld2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ RUN apt-get update -qq \
RUN pip3 install setuptools --force-reinstall --no-cache \
&& pip3 install --no-cache-dir \
matplotlib \
scipy \
"cython==3.0.10" \
"scipy==1.13" \
"numpy<2" \
pint \
rise \
pytest \
Expand Down

0 comments on commit 4bdcefa

Please sign in to comment.