# HG changeset patch # User Matt Harbison # Date 1734651348 18000 # Node ID 04a9d34395edf126ee7b4a3fcd8a7eb808beac37 # Parent 89e6952805bd438bf855d302a703dd4bf9238a89 ci: let `cibuildwheel` determine the wheel versions from the macOS config I'd say we should align IDs on what `cibuildwheel` is doing (so I'm not sure why there are names like "cp38-cp38" when the tool produces IDs like "cp38-macos_x86_64"). But the names are intergal to several job targets in order to upload them, or fetch and install them. For now, I'm settling on simply eliminating a hardcoded list, and let `cibuildwheel` drive the bus based on the configuration it sees. diff -r 89e6952805bd -r 04a9d34395ed contrib/heptapod-ci.yml --- a/contrib/heptapod-ci.yml Wed Jan 15 12:27:13 2025 -0500 +++ b/contrib/heptapod-ci.yml Thu Dec 19 18:35:48 2024 -0500 @@ -573,7 +573,8 @@ - PLATFORM=`$PYTHON -c 'import sys; print(sys.platform)'` - rm -rf tmp-wheels - cibuildwheel --output-dir tmp-wheels/ - - for py_version in cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313; do + - for py_version in $(cibuildwheel --print-build-identifiers | egrep -o 'cp[0-9]+' | sort | uniq); do + py_version="${py_version}-${py_version}"; mkdir -p wheels/$PLATFORM/c/$py_version/; mv tmp-wheels/*$py_version*.whl wheels/$PLATFORM/c/$py_version/; done