Skip to content

Commit 4699a2e

Browse files
committed
update wheels script to match CI/CD incase of error
1 parent 6b1d7eb commit 4699a2e

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

src/release/scripts/build-wheels.sh

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
python_versions=("$@")
77

88
# Minimum glibc version we support
9-
glibc_version=2-32
10-
11-
# These versions are being supported due to the SDKs supporting Python 3.9+
12-
macOS_version_x86_64=10.9
13-
macOS_version_arm64=11.0
9+
glibc_version=2-34
1410

1511
# Extracts the current verison number for cleanup function
1612
current_version=$(cat .VERSION)
@@ -44,21 +40,7 @@ build_wheels() {
4440

4541
case "$os_platform" in
4642
Darwin)
47-
macos_version=
48-
# Min MacOS version for Python 3.13+ is 10.13
49-
python_version=$(pyenv exec python3 --version 2>&1)
50-
51-
if [[ "$machine_platform" == "x86_64" ]]; then
52-
if [[ "$python_version" == "Python 3.13"* ]]; then
53-
macos_version="10.13"
54-
else
55-
macos_version=$macOS_version_x86_64
56-
fi
57-
else
58-
macos_version=$macOS_version_arm64
59-
fi
60-
61-
export _PYTHON_HOST_PLATFORM="macosx-${macos_version}-${PYTHON_MACHINE_PLATFORM}"
43+
export _PYTHON_HOST_PLATFORM="macosx-12.0-${PYTHON_MACHINE_PLATFORM}"
6244
;;
6345
Linux)
6446
export _PYTHON_HOST_PLATFORM="manylinux-${glibc_version}-${PYTHON_MACHINE_PLATFORM}"

0 commit comments

Comments
 (0)