Skip to content

Commit 4de36d3

Browse files
committed
chore(ci): replace hatch clean with rm
Install hatch on the PyPy images seems unnecessarily difficult, just to run a few `rm` commands. So I am replacing the before-build step with the required `rm` commands. Signed-off-by: JP-Ellis <[email protected]>
1 parent 4bc898d commit 4de36d3

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,14 @@ exclude = '^(src/pact|tests)/(?!v3).+\.py$'
293293
## CI Build Wheel
294294
################################################################################
295295
[tool.cibuildwheel]
296+
skip = "pp38-*"
296297
before-build = """
297-
python -m pip install hatch
298-
hatch clean
299-
if ! command -v cargo &> /dev/null; then
300-
curl -sSf https://sh.rustup.rs | sh -s -- --profile=minimal -y
301-
for bin in $(ls "$HOME/.cargo/bin"); do
302-
ln -v "$HOME/.cargo/bin/$bin" "/usr/bin/$bin"
303-
done
304-
rustup show
305-
fi
298+
rm -rvf src/pact/v3/bin
299+
rm -rvf src/pact/v3/data
300+
rm -rvf src/pact/v3/lib
301+
mv -v src/pact/v3/_ffi.pyi _ffi.pyi
302+
rm -rvf src/pact/v3/_ffi.*
303+
mv -v _ffi.pyi src/pact/v3/_ffi.pyi
306304
"""
307305
test-command = """
308306
python -c \

0 commit comments

Comments
 (0)