fix: address macOS deployment target and pyzmq compilation issues

- Set MACOSX_DEPLOYMENT_TARGET=11.0 for macOS builds
- Add pyzmq to test requirements to use pre-built wheels
- Configure deployment target in both workflow and pyproject.toml
- Skip ARM64 tests on GitHub Actions to avoid cross-compilation issues
This commit is contained in:
Andy Lee
2025-07-25 11:13:51 -07:00
parent 3c836766f8
commit b8ff00fc6a
2 changed files with 32 additions and 1 deletions

View File

@@ -80,6 +80,8 @@ before-all = """
# macOS系统依赖
[tool.cibuildwheel.macos]
before-all = "brew install boost zeromq openblas cmake libomp"
# 设置macOS最小版本
environment = { MACOSX_DEPLOYMENT_TARGET = "11.0", CMAKE_OSX_DEPLOYMENT_TARGET = "11.0" }
# 环境变量配置
[tool.cibuildwheel.environment]