Skip to content

Commit 97d9610

Browse files
connorjwardindiamai
authored andcommitted
Fix sdist usage for master
1 parent 3ca797e commit 97d9610

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/core.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ jobs:
179179
pip cache remove slepc4py
180180
181181
if [ ${{ inputs.target_branch }} = 'release' ]; then
182+
EXTRA_BUILD_ARGS=''
182183
EXTRA_PIP_FLAGS=''
183184
else
184185
: # Install build dependencies
@@ -192,12 +193,13 @@ jobs:
192193
pip install --no-deps ngsPETSc netgen-mesher netgen-occt
193194
194195
: # We have to pass '--no-build-isolation' to use a custom petsc4py
196+
EXTRA_BUILD_ARGS='--no-isolation'
195197
EXTRA_PIP_FLAGS='--no-build-isolation'
196198
fi
197199
198200
: # Install from an sdist so we can make sure that it is not ill-formed
199201
pip install build
200-
python -m build ./firedrake-repo --sdist
202+
python -m build ./firedrake-repo --sdist "$EXTRA_BUILD_ARGS"
201203
202204
pip install --verbose $EXTRA_PIP_FLAGS \
203205
--no-binary h5py \

0 commit comments

Comments
 (0)