From ed7fca1e9ae0ba69331b8cef561e5bc0df4df6f1 Mon Sep 17 00:00:00 2001 From: Adam Li Date: Wed, 31 Jan 2024 14:15:05 -0500 Subject: [PATCH] Try again with old build wheels Signed-off-by: Adam Li --- .github/workflows/build_wheels.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 6a65fe224..dac37c0c1 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -41,16 +41,11 @@ jobs: os: # see scipy wheels.yml GH actions - [ubuntu-22.04, manylinux, x86_64] - [macos-11, macosx, x86_64] + # - [macos-12, macosx_*, arm64] - [windows-2019, win, AMD64] + python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]] # python[0] is used to specify the python versions made by cibuildwheel - python: - [ - ["cp39", "3.9"], - ["cp310", "3.10"], - ["cp311", "3.11"], - ["cp312", "3.12"], - ] env: IS_32_BIT: ${{ matrix.os[2] == 'x86' }} @@ -92,12 +87,6 @@ jobs: CIBW_ARCHS: ${{ matrix.os[2] }} CIBW_ENVIRONMENT_PASS_LINUX: RUNNER_OS - CIBW_ENVIRONMENT_WINDOWS: > - PKG_CONFIG_PATH=c:/opt/64/lib/pkgconfig - PIP_PRE=1 - PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple - PIP_NO_BUILD_ISOLATION=false - - uses: actions/upload-artifact@v4 with: path: ./wheelhouse/ @@ -111,14 +100,8 @@ jobs: # Ensure that a wheel builder finishes even if another fails fail-fast: false matrix: + python: [["cp39", "3.9"], ["cp310", "3.10"], ["cp311", "3.11"]] # python[0] is used to specify the python versions made by cibuildwheel - python: - [ - ["cp39", "3.9"], - ["cp310", "3.10"], - ["cp311", "3.11"], - ["cp312", "3.12"], - ] steps: - name: Checkout code @@ -137,7 +120,7 @@ jobs: python spin setup-submodule - name: Build wheels - uses: pypa/cibuildwheel@v2.16.3 + uses: pypa/cibuildwheel@v2.16.4 env: CIBW_BUILD: ${{ matrix.python[0] }}-macosx_arm64 CIBW_ARCHS_MACOS: arm64