Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest
# Only workflow_dispatch is enabled on forks.
# To enable this job and subsequent jobs on a fork for other events, comment out:
if: github.repository == 'numpy/numpy' || github.event_name == 'workflow_dispatch'
# if: github.repository == 'numpy/numpy' || github.event_name == 'workflow_dispatch'
outputs:
message: ${{ steps.commit_message.outputs.message }}
steps:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- [windows-2019, win_amd64, ""]
- [windows-2019, win32, ""]
- [windows-11-arm, win_arm64, ""]
python: ["cp311", "cp312", "cp313", "cp313t", "pp311"]
python: ["cp311", "cp312", "cp313", "cp313t", "cp314", "cp314t"]
exclude:
# Don't build PyPy 32-bit windows
- buildplat: [windows-2019, win32, ""]
Expand All @@ -107,6 +107,8 @@ jobs:
python: "pp311"
- buildplat: [ macos13, macosx_x86_64, openblas ]
python: "cp313t"
- buildplat: [ macos13, macosx_x86_64, openblas ]
python: "cp314t"

env:
IS_32_BIT: ${{ matrix.buildplat[1] == 'win32' }}
Expand Down Expand Up @@ -175,9 +177,10 @@ jobs:
fi

- name: Build wheels
uses: pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
uses: pypa/cibuildwheel@90a0ddeff0f23eebc21630e65d66d0f4955e9b94 # v3.0.0b1
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
CIBW_ENABLE: cpython-prerelease cpython-freethreading pypy

- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
Expand Down
2 changes: 2 additions & 0 deletions tools/wheels/cibw_test_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -xe

PROJECT_DIR="$1"

cd tools

python -m pip install threadpoolctl
python -c "import numpy; numpy.show_config()"

Expand Down
Loading