Skip to content

Commit 1b303f6

Browse files
committed
Attempt to fix Python 3.13 on Windows build
1 parent cf45840 commit 1b303f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717

18+
- name: Install dependencies with pinned NumPy on Win/Py3.13
19+
# This step pins NumPy to a working version ONLY for the configuration
20+
# that is known to fail with numpy 2.3.0.
21+
if: matrix.os == 'windows' && matrix.python-version == '3.13'
22+
run: python -m pip install "numpy<2.3"
23+
1824
- name: Build and install
1925
run: python -m pip install .
2026

0 commit comments

Comments
 (0)