From 0f7645b43df7bfd56724a371bdf152d894f29d85 Mon Sep 17 00:00:00 2001 From: taoboyang Date: Thu, 2 Jan 2025 14:48:49 +0800 Subject: [PATCH] Upgrade the macos version in release image --- .github/workflows/build_wheels.yml | 2 +- .github/workflows/release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 59fd1e5e..c15ebb7e 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -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] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 843c2b3a..1dd155dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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