Skip to content

Split macOS wheel arches across CI runners#2479

Merged
cary-ilm merged 1 commit into
AcademySoftwareFoundation:mainfrom
cary-ilm:macos-wheel-fix
Jun 18, 2026
Merged

Split macOS wheel arches across CI runners#2479
cary-ilm merged 1 commit into
AcademySoftwareFoundation:mainfrom
cary-ilm:macos-wheel-fix

Conversation

@cary-ilm

Copy link
Copy Markdown
Member

Both macOS matrix jobs previously built x86_64, arm64, and universal2, producing duplicate wheel filenames. Prior to #2433, the workflow downloaded each built wheel in succession, which would cause the duplicate wheel to overwrite the original, but it avoided an error. The new merge-multiple in the publish job corrupt the files, causing TestPyPI uploads to fail with "Mis-matched data size".

This change builds x86_64 and universal2 on macos-15-intel and arm64 on macos-latest so merged artifacts have unique names.

This also adds a validation step to the python-wheels.yml workflow to ensure the wheels have the expected structure.

Both macOS matrix jobs previously built x86_64, arm64, and universal2,
producing duplicate wheel filenames. Prior to AcademySoftwareFoundation#2433, the workflow
downloaded each built wheel in succession, which would cause the
duplicate wheel to overwrite the original, but it avoided an
error. The new merge-multiple in the publish job corrupt the
files, causing TestPyPI uploads to fail with "Mis-matched data size".

This change builds x86_64 and universal2 on macos-15-intel and arm64
on macos-latest so merged artifacts have unique names.

This also adds a validation step to the python-wheels.yml workflow to
ensure the wheels have the expected structure.

Signed-off-by: Cary Phillips <cary@ilm.com>
@cary-ilm cary-ilm merged commit 545c9a7 into AcademySoftwareFoundation:main Jun 18, 2026
9 of 10 checks passed
cary-ilm added a commit that referenced this pull request Jun 18, 2026
Both macOS matrix jobs previously built x86_64, arm64, and universal2,
producing duplicate wheel filenames. Prior to #2433, the workflow
downloaded each built wheel in succession, which would cause the
duplicate wheel to overwrite the original, but it avoided an
error. The new merge-multiple in the publish job corrupt the
files, causing TestPyPI uploads to fail with "Mis-matched data size".

This change builds x86_64 and universal2 on macos-15-intel and arm64
on macos-latest so merged artifacts have unique names.

This also adds a validation step to the python-wheels.yml workflow to
ensure the wheels have the expected structure.

Signed-off-by: Cary Phillips <cary@ilm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant