Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 06c9ce9

Browse files
Fixes names for published wheels (#56)
1 parent faf721f commit 06c9ce9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jupyter-exporter:
4141
# We may need to add more of these eventually because some HPC clusters run outdated architectures
4242
.PHONY: exporter-wheels
4343
exporter-wheels:
44-
@for os in linux mac windows; do \
44+
@for os in linux darwin windows; do \
4545
for arch in amd64 arm64; do \
4646
echo "Building for OS: $$os, Architecture: $$arch"; \
4747
cd o11y && TARGET_OS=$$os TARGET_ARCH=$$arch hatch build -t wheel; \

o11y/hatch_build.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ def initialize(self, version: str, build_data: dict):
2020
go_arch_flag = None
2121
elif target_os == 'windows':
2222
if target_arch == 'arm64':
23-
build_data['tag'] = f"py3-none-win_aarch64"
23+
build_data['tag'] = f"py3-none-win_arm64"
2424
go_arch_flag = "arm64"
2525
else:
2626
build_data['tag'] = f"py3-none-win_amd64"
2727
go_arch_flag = "amd64"
2828
go_os_flag = "windows"
29-
elif target_os == 'mac':
29+
elif target_os == 'darwin': # macOS
3030
if target_arch == 'arm64':
31-
build_data['tag'] = f"py3-none-macosx_13_0_aarch64"
31+
build_data['tag'] = f"py3-none-macosx_11_0_arm64"
3232
go_arch_flag = "arm64"
3333
else:
34-
build_data['tag'] = f"py3-none-macosx_13_0_x86_64"
34+
build_data['tag'] = f"py3-none-macosx_10_9_x86_64"
3535
go_arch_flag = "amd64"
3636
go_os_flag = "darwin"
3737
elif target_os == 'linux':
3838
if target_arch == 'arm64':
39-
build_data['tag'] = f"py3-none-linux_aarch64"
39+
build_data['tag'] = f"py3-none-manylinux2014_aarch64"
4040
go_arch_flag = "arm64"
4141
else:
42-
build_data['tag'] = f"py3-none-linux_x86_64"
42+
build_data['tag'] = f"py3-none-manylinux2014_x86_64"
4343
go_arch_flag = "amd64"
4444
go_os_flag = "linux"
4545

0 commit comments

Comments
 (0)