# HG changeset patch # User Pierre-Yves David # Date 2024-11-09 23:59:21 # Node ID d0e728b0db0e08ae660e5347ca166adad8356345 # Parent 7a568296296eea26b1ca5898b69e4ea80061db42 wheel: assign CIBW_SKIP globally The other cibuildwheels (e.g. windows) will needs it too. diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml --- a/contrib/heptapod-ci.yml +++ b/contrib/heptapod-ci.yml @@ -36,6 +36,9 @@ variables: # with shell runner, its content is not cleaned from one call to the next, # so plan for it. TMP_WORK_DIR: "${CI_PROJECT_DIR}/../.." + # we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither + # needed nor working. + CIBW_SKIP: "pp*" .all: # help changing all job at once when debugging @@ -344,11 +347,11 @@ macos: needs: - build-c-wheel-macos -# we use CIBW_SKIP="pp*" to prevent the building of pypy wheel that are neither -# needed nor working. +# We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as +# this is the only one we need to test. However testing that build work on all +# version is useful and match what we do with Linux. # -# We could use CIBW_BUILD="cp310-*" to only build the Python 3.10 wheel for now as -# this is the only one we need to test. However testing that build work on all version is useful and match what we do with Linux. +# CIBW_SKIP is set globally at the start of the file. See comment there. # # The weird directory structure match the one we use for Linux to deal with the # multiple jobs. (all this might be unnecessary) @@ -361,7 +364,7 @@ build-c-wheel-macos: MERCURIAL_SETUP_FORCE_TRANSLATIONS: "1" script: - rm -rf tmp-wheels - - CIBW_SKIP="pp*" cibuildwheel --output-dir tmp-wheels/ + - cibuildwheel --output-dir tmp-wheels/ - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do mkdir -p wheels/c/$py_version/; mv tmp-wheels/*$py_version*.whl wheels/c/$py_version/;