From 233bad4a6c97944e99332251b66414a3e1933b9a Mon Sep 17 00:00:00 2001 From: yanghaoqi Date: Fri, 20 Sep 2024 14:11:31 +0800 Subject: [PATCH] try fix python build --- .github/workflows/compiler-build.yml | 6 +++--- .github/workflows/compiler-python-release.yml | 4 ++-- .github/workflows/jupyter-test.yml | 2 +- .github/workflows/runtime-build.yml | 2 +- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/compiler-build.yml b/.github/workflows/compiler-build.yml index 511f9e0f4b..e59c27dcb7 100644 --- a/.github/workflows/compiler-build.yml +++ b/.github/workflows/compiler-build.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-12, buildType: Release} + - {name: x86_64-macos, os: macos-10, buildType: Release} - {name: x86_64-linux, os: ubuntu-22.04, buildType: Release} # - {name: x86_64-windows, os: windows-2019, arch: x64, buildType: Release} @@ -79,7 +79,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-10, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-22.04, shell: bash, rid: linux-x64, buildType: Release} # - {name: x86_64-windows, os: windows-2019, shell: bash, rid: win-x64, buildType: Release} @@ -168,7 +168,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-12, shell: bash} + - {name: x86_64-macos, os: macos-10, shell: bash} - {name: x86_64-linux, os: ubuntu-22.04, shell: bash} # - {name: x86_64-windows, os: windows-2019, shell: bash} diff --git a/.github/workflows/compiler-python-release.yml b/.github/workflows/compiler-python-release.yml index 78a33892bb..9895dd0611 100644 --- a/.github/workflows/compiler-python-release.yml +++ b/.github/workflows/compiler-python-release.yml @@ -14,7 +14,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-12, shell: bash, rid: osx-x64, buildType: Release} + - {name: x86_64-macos, os: macos-10, shell: bash, rid: osx-x64, buildType: Release} - {name: x86_64-linux, os: ubuntu-22.04, shell: bash, rid: linux-x64, buildType: Release} # - {name: x86_64-windows, os: windows-2019, shell: bash, rid: win-x64, buildType: Release} @@ -53,7 +53,7 @@ jobs: matrix: dotnet-version: ['7.0'] config: - - {name: x86_64-macos, os: macos-12} + - {name: x86_64-macos, os: macos-10} - {name: x86_64-linux, os: ubuntu-22.04} # - {name: x86_64-windows, os: windows-2019, arch: x64} diff --git a/.github/workflows/jupyter-test.yml b/.github/workflows/jupyter-test.yml index 6ae427168a..9b20461a12 100755 --- a/.github/workflows/jupyter-test.yml +++ b/.github/workflows/jupyter-test.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: config: - - {name: x86_64-macos, os: macos-12,} + - {name: x86_64-macos, os: macos-10,} - {name: x86_64-linux, os: ubuntu-latest} # - {name: x86_64-windows, os: windows-2019} diff --git a/.github/workflows/runtime-build.yml b/.github/workflows/runtime-build.yml index dc4aa0d8a3..39bd09a07f 100644 --- a/.github/workflows/runtime-build.yml +++ b/.github/workflows/runtime-build.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: config: - - { name: x86_64-macos, os: macos-12, buildType: Release } + - { name: x86_64-macos, os: macos-10, buildType: Release } - { name: x86_64-linux, os: ubuntu-22.04, buildType: Release } # - { name: x86_64-windows, os: windows-2019, arch: x64, buildType: Release } diff --git a/pyproject.toml b/pyproject.toml index 68d7a96c3a..8e6f29cb79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,4 +56,4 @@ repair-wheel-command = "LD_LIBRARY_PATH=/usr/lib64 auditwheel repair -w {dest_di archs = ["x86_64"] [tool.cibuildwheel.macos.environment] -MACOSX_DEPLOYMENT_TARGET = "12" +MACOSX_DEPLOYMENT_TARGET = "10.15"