Skip to content

Commit 0422dca

Browse files
authored
Fix wheel rename on macOS dev wheel uploads (#1026)
A recent change in the build environment means macOS 14 builds (for arm64) are also labeled as universal2 wheels, whereas before it would only be _some_ macOS 12 builds (for x86) that were labeled as such. Ensure universal2 wheels are labeled correctly for each architecture.
1 parent 7803c09 commit 0422dca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-nightly-release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ jobs:
7171
- name: Prepare wheels
7272
run: |
7373
rename "s/linux/manylinux_2_28/" dist/PennyLane_Catalyst-*
74+
rename "s/macosx_12_0_universal2/macosx_12_0_x86_64/" dist/PennyLane_Catalyst-*
75+
rename "s/macosx_14_0_universal2/macosx_13_0_arm64/" dist/PennyLane_Catalyst-*
7476
rename "s/macosx_14/macosx_13/" dist/PennyLane_Catalyst-*
75-
rename "s/_universal2/_x86_64/" dist/PennyLane_Catalyst-*
7677
# Discard the 3.9 wheels to save space on nightly builds.
7778
rm dist/PennyLane_Catalyst-*-cp39-cp39-*
7879

0 commit comments

Comments
 (0)