From 95cd5efcc99ca6202198f481c3489f0dc372fba8 Mon Sep 17 00:00:00 2001 From: Andrew Nelson Date: Fri, 12 Jun 2026 07:14:57 +1000 Subject: [PATCH] BLD: stop building win32 --- .github/workflows/wheels.yml | 10 +--------- tools/wheels/cibw_test_command.sh | 4 ---- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index aa956ec..1b7f383 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -60,7 +60,6 @@ jobs: - [macos-14, macosx_arm64, openblas] - [macos-14, macosx_arm64, accelerate] - [windows-2022, win_amd64, ""] - - [windows-2022, win32, ""] - [windows-11-arm, win_arm64, ""] python: ["cp312", "cp313", "cp314", "cp314t", "cp315", "cp315t"] exclude: @@ -69,8 +68,7 @@ jobs: include: - buildplat: [ ubuntu-22.04, pyodide_wasm32, "" ] python: "cp313" - env: - IS_32_BIT: ${{ matrix.buildplat[1] == 'win32' }} # used in a cibw_*.sh script + steps: - name: Checkout numpy-release @@ -87,12 +85,6 @@ jobs: submodules: true persist-credentials: false - - name: Setup MSVC (32-bit) - if: ${{ matrix.buildplat[1] == 'win32' }} - uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1 - with: - architecture: 'x86' - - name: win_arm64 - set environment variables if: ${{ matrix.buildplat[1] == 'win_arm64' }} run: | diff --git a/tools/wheels/cibw_test_command.sh b/tools/wheels/cibw_test_command.sh index 4aa4370..73852d2 100644 --- a/tools/wheels/cibw_test_command.sh +++ b/tools/wheels/cibw_test_command.sh @@ -6,10 +6,6 @@ PROJECT_DIR="$1" python -c "import numpy; numpy.show_config()" -if [[ $RUNNER_OS == "Windows" && $IS_32_BIT == true ]] ; then - # Avoid this in GHA: "ERROR: Found GNU link.exe instead of MSVC link.exe" - rm /c/Program\ Files/Git/usr/bin/link.EXE -fi # Set available memory value to avoid OOM problems on aarch64 (see gh-22418) export NPY_AVAILABLE_MEM="4 GB"