Skip to content

Commit 4bdcefa

Browse files
committed
Force numpy<2 in all dockers
1 parent 99aa441 commit 4bdcefa

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/development/docker/lavavu/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ RUN apt-get update -qq \
3636
python3-minimal \
3737
python3-venv \
3838
python3-pip \
39-
python3-numpy \
4039
libpng16-16t64 \
4140
libjpeg8 \
4241
libtiff-dev \
@@ -87,6 +86,7 @@ USER $NB_USER
8786
RUN /usr/bin/python3 -m venv --system-site-packages ${VIRTUAL_ENV}
8887
RUN pip3 install -U setuptools \
8988
&& pip3 install --no-cache-dir \
89+
"numpy<2" \
9090
packaging \
9191
appdirs \
9292
jupyter \

docs/development/docker/petsc/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ RUN apt-get update -qq \
8989
&& rm -rf /var/lib/apt/lists/*
9090

9191
RUN pip3 install --no-cache-dir \
92-
cython \
92+
"cython==3.0.10" \
93+
"numpy<2"
9394
mpi4py \
94-
'numpy<2'
9595

9696
# get petsc
9797
ARG PETSC_VERSION="3.22.2"

docs/development/docker/underworld2/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ RUN apt-get update -qq \
110110
RUN pip3 install setuptools --force-reinstall --no-cache \
111111
&& pip3 install --no-cache-dir \
112112
matplotlib \
113-
scipy \
113+
"cython==3.0.10" \
114+
"scipy==1.13" \
115+
"numpy<2" \
114116
pint \
115117
rise \
116118
pytest \

0 commit comments

Comments
 (0)