Skip to content

Commit bc657b2

Browse files
committed
Pin cython<3.0
1 parent 1a31ed5 commit bc657b2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

conda_install_dedalus2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ conda config --add channels conda-forge
151151
conda config --set channel_priority strict
152152

153153
echo "Installing conda-forge python, pip, wheel, setuptools, cython"
154-
conda install "${CARGS[@]}" "python=${PYTHON_VERSION}" pip wheel setuptools cython
154+
conda install "${CARGS[@]}" "python=${PYTHON_VERSION}" pip wheel setuptools "cython<3.0"
155155

156156
case "${BLAS}" in
157157
"openblas")
@@ -233,7 +233,7 @@ conda install "${CARGS[@]}" docopt matplotlib
233233
echo "Installing dedalus with pip"
234234
# CC=mpicc to ensure proper MPI linking
235235
# no-cache to avoid wheels from previous pip installs
236-
CC=mpicc python3 -m pip install --no-cache "dedalus==2.*"
236+
CC=mpicc python3 -m pip install --no-cache --no-build-isolation "dedalus==2.*"
237237

238238
echo "Disabled threading by default in the environment"
239239
conda env config vars set OMP_NUM_THREADS=1

conda_install_dedalus3.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ conda config --add channels conda-forge
151151
conda config --set channel_priority strict
152152

153153
echo "Installing conda-forge python, pip, wheel, setuptools, cython"
154-
conda install "${CARGS[@]}" "python=${PYTHON_VERSION}" pip wheel setuptools cython
154+
conda install "${CARGS[@]}" "python=${PYTHON_VERSION}" pip wheel setuptools "cython<3.0"
155155

156156
case "${BLAS}" in
157157
"openblas")
@@ -233,7 +233,7 @@ conda install "${CARGS[@]}" docopt matplotlib
233233
echo "Installing dedalus with pip"
234234
# CC=mpicc to ensure proper MPI linking
235235
# no-cache to avoid wheels from previous pip installs
236-
CC=mpicc python3 -m pip install --no-cache http://github.com/dedalusproject/dedalus/zipball/master/
236+
CC=mpicc python3 -m pip install --no-cache --no-build-isolation http://github.com/dedalusproject/dedalus/zipball/master/
237237

238238
echo "Disabled threading by default in the environment"
239239
conda env config vars set OMP_NUM_THREADS=1

0 commit comments

Comments
 (0)