Skip to content

Commit 9d97641

Browse files
committed
Still need disgusting hack :face_vomiting:
1 parent 4afb19e commit 9d97641

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,13 @@ jobs:
121121
run: |
122122
export PETSC_DIR=/home/runner/work/ngsPETSc/petsc
123123
export PETSC_ARCH=arch-linux-c-opt
124-
pip install ../petsc/src/binding/petsc4py
124+
# Hopefully this song and dance goes away after petsc4py release 3.22.2
125+
poetry remove petsc4py
125126
poetry install --sync --no-interaction
127+
poetry add ../petsc/src/binding/petsc4py
128+
sed -i -E "s/petsc4py = (\{.+\})/petsc4py = \"^3.22.1\"/" pyproject.toml
129+
# Replace when fixed with:
130+
# poetry install --sync --no-interaction
126131
127132
- name: Build source and wheel distribution
128133
run: |

0 commit comments

Comments
 (0)