From d428de83ad189f697f72690f308fa9699261db93 Mon Sep 17 00:00:00 2001 From: "Garth N. Wells" Date: Thu, 12 Sep 2024 15:18:03 +0100 Subject: [PATCH] Fix cython install --- docker/Dockerfile.test-env | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docker/Dockerfile.test-env b/docker/Dockerfile.test-env index f9b895f83aa..2a502040f2c 100644 --- a/docker/Dockerfile.test-env +++ b/docker/Dockerfile.test-env @@ -149,7 +149,7 @@ RUN python3 -m venv ${VIRTUAL_ENV} # Install Python packages (via pip) RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \ - pip install --no-cache-dir numpy==${NUMPY_VERSION} && \ + pip install --no-cache-dir cython numpy==${NUMPY_VERSION} && \ pip install --no-cache-dir --no-build-isolation mpi4py # Install KaHIP @@ -316,9 +316,7 @@ RUN apt-get -qq update && \ make PETSC_ARCH=linux-gnu-complex128-64 ${MAKEFLAGS} all && \ # Install petsc4py cd src/binding/petsc4py && \ - pip install --no-cache-dir cython && \ PETSC_ARCH=linux-gnu-real32-32:linux-gnu-complex64-32:linux-gnu-real64-32:linux-gnu-complex128-32:linux-gnu-real64-64:linux-gnu-complex128-64 pip -v install --no-cache-dir --no-build-isolation . && \ - pip3 uninstall --yes cython && \ # Cleanup apt-get -y purge bison flex && \ apt-get -y autoremove && \ @@ -359,9 +357,7 @@ RUN git clone --depth=1 -b v${SLEPC_VERSION} https://gitlab.com/slepc/slepc.git make && \ # Install slepc4py cd src/binding/slepc4py && \ - pip3 install --no-cache-dir cython && \ PETSC_ARCH=linux-gnu-real32-32:linux-gnu-complex64-32:linux-gnu-real64-32:linux-gnu-complex128-32:linux-gnu-real64-64:linux-gnu-complex128-64 pip -v install --no-cache-dir --no-build-isolation . && \ - pip3 uninstall --yes cython && \ rm -rf ${SLEPC_DIR}/CTAGS ${SLEPC_DIR}/TAGS ${SLEPC_DIR}/docs ${SLEPC_DIR}/src/ ${SLEPC_DIR}/**/obj/ ${SLEPC_DIR}/**/test/ && \ rm -rf /tmp/*