Skip to content

Commit

Permalink
Fix Cython version. (#2620)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale authored Apr 14, 2023
1 parent 160ed13 commit 016ec09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
source fenicsx/bin/activate
python -m pip install --upgrade setuptools
python -m pip install --upgrade pip
python -m pip install Cython==0.29.32
echo "VIRTUAL ENV:" $VIRTUAL_ENV
echo '$(which python):' $(which python)
Expand All @@ -59,7 +60,7 @@ jobs:
--download-ptscotch
make all
cd src/binding/petsc4py
PETSC_DIR=$GITHUB_WORKSPACE/petsc PETSC_ARCH=arch-darwin-c-opt pip3 install --no-cache-dir .
PETSC_DIR=$GITHUB_WORKSPACE/petsc PETSC_ARCH=arch-darwin-c-opt pip3 install --no-cache-dir -v .
- name: Install Basix
run: |
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ RUN apt-get -qq update && \
make PETSC_DIR=/usr/local/petsc PETSC_ARCH=linux-gnu-complex-64 ${MAKEFLAGS} all && \
# Install petsc4py
cd src/binding/petsc4py && \
PETSC_ARCH=linux-gnu-real-32:linux-gnu-complex-32:linux-gnu-real-64:linux-gnu-complex-64 pip3 install --no-cache-dir . && \
pip3 install --no-cache-dir Cython==0.29.32 && \
PETSC_ARCH=linux-gnu-real-32:linux-gnu-complex-32:linux-gnu-real-64:linux-gnu-complex-64 pip3 install --no-cache-dir -v . && \
# Cleanup
apt-get -y purge bison flex && \
apt-get -y autoremove && \
Expand Down

0 comments on commit 016ec09

Please sign in to comment.