From 9d97641b112cb210a51c4e588e47a82b6409eeff Mon Sep 17 00:00:00 2001 From: Jack Betteridge Date: Fri, 8 Nov 2024 17:33:25 +0000 Subject: [PATCH] Still need disgusting hack :face_vomiting: --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea4b0a7..78723b3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,8 +121,13 @@ jobs: run: | export PETSC_DIR=/home/runner/work/ngsPETSc/petsc export PETSC_ARCH=arch-linux-c-opt - pip install ../petsc/src/binding/petsc4py + # Hopefully this song and dance goes away after petsc4py release 3.22.2 + poetry remove petsc4py poetry install --sync --no-interaction + poetry add ../petsc/src/binding/petsc4py + sed -i -E "s/petsc4py = (\{.+\})/petsc4py = \"^3.22.1\"/" pyproject.toml + # Replace when fixed with: + # poetry install --sync --no-interaction - name: Build source and wheel distribution run: |