This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm-ffi.git
The following commit(s) were added to refs/heads/main by this push:
new 10fa010 chore(release): Re-enable Python 3.8 Wheel on macOS (#162)
10fa010 is described below
commit 10fa0109684468de23907df87245fef11d078c22
Author: Junru Shao <[email protected]>
AuthorDate: Fri Oct 17 03:52:39 2025 -0700
chore(release): Re-enable Python 3.8 Wheel on macOS (#162)
---
.github/workflows/publish_wheel.yml | 13 +++++++++++--
pyproject.toml | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/publish_wheel.yml
b/.github/workflows/publish_wheel.yml
index ffd77fd..6c6ea86 100644
--- a/.github/workflows/publish_wheel.yml
+++ b/.github/workflows/publish_wheel.yml
@@ -41,7 +41,16 @@ jobs:
- {os: macos-14, arch: arm64, linux_image: ""}
steps:
- - uses: astral-sh/setup-uv@v4
+ # Special handling for macOS arm64 + python 3.8.
+ # Install Python 3.8 from `actions/setup-python`, which is an arm64
build;
+ # N.B. Don't use `astral-sh/setup-uv` here as it provides an x86_64
build instead.
+ # See also:
https://cibuildwheel.pypa.io/en/stable/faq/#macos-building-cpython-38-wheels-on-arm64
+ - uses: actions/setup-python@v5
+ with:
+ python-version: 3.8
+ if: runner.os == 'macOS' && runner.arch == 'ARM64'
+ - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4
+ if: matrix.os != 'macOS' || matrix.arch != 'arm64'
- uses: actions/checkout@v4
with:
@@ -93,7 +102,7 @@ jobs:
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.branch
|| github.ref }}
submodules: recursive
- - uses: astral-sh/setup-uv@v4
+ - uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4 #
v6.7.0
- name: Build sdist
run: pipx run build --sdist --outdir dist .
diff --git a/pyproject.toml b/pyproject.toml
index 8e215fb..013566b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -226,7 +226,7 @@ build-verbosity = 1
# will be abi3 and can be used in future versions
# ship 314t threaded nogil version
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp314t-*"]
-skip = ["*musllinux*", "cp38-macosx_*"]
+skip = ["*musllinux*"]
# we only need to test on cp312
test-skip = ["cp38-*", "cp39-*", "cp310-*", "cp311-*"]
# focus on testing abi3 wheel