Skip to content

Commit

Permalink
Upgrade the macos version in release image
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Jan 3, 2025
1 parent 4f387aa commit 0f7645b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:

build_macos_wheels:
name: Build macos wheels with ${{ matrix.py_ver_prefix }}-${{ matrix.macos_arch }}
runs-on: macos-12 # On the macOS-12 system, the wheel package generated by using the xcode14.0~14.3 version compiler will have problems at python runtime which installed by homebrew, and the error is reported: "Symbol not found: _PyBaseObject_Type", please refer to issue: https://github.com/pybind/pybind11/pull/4301 and https://github.com/python/cpython/issues/97524. So we use macos-11 here.
runs-on: macos-13 # On the macos-14 system, the wheel package generated by using the xcode14.0~14.3 version compiler will have problems at python runtime which installed by homebrew, and the error is reported: "Symbol not found: _PyBaseObject_Type", please refer to issue: https://github.com/pybind/pybind11/pull/4301 and https://github.com/python/cpython/issues/97524. So we use macos-11 here.
strategy:
matrix:
py_ver_prefix: [cp36, cp37, cp38, cp39, cp310]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
arch: ppc64le
py_ver_prefix: cp39
device: cpu
- os: macos-12
- os: macos-13
arch: x86_64
py_ver_prefix: cp39
device: cpu
- os: macos-12
- os: macos-13
arch: arm64
py_ver_prefix: cp39
device: cpu
Expand Down

0 comments on commit 0f7645b

Please sign in to comment.