Skip to content

Commit 09f0b3c

Browse files
committed
chore: fix windows ci issue
1 parent 2e347ee commit 09f0b3c

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/workflows/ci.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,23 @@ jobs:
4040
3.11
4141
3.12
4242
3.13
43+
# Leave out 3.13 on aarch due to an issue in pyo3/rust-numpy 0.23.4
4344
- name: Build wheels
4445
uses: PyO3/maturin-action@v1
46+
if: ${{ matrix.platform.target == 'aarch64' }}
4547
with:
4648
target: ${{ matrix.platform.target }}
47-
args: --release --out dist --find-interpreter --zig
49+
args: --release --out dist --interpreter 3.10 3.11 3.12 --zig
50+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
51+
manylinux: auto
52+
before-script-linux: |
53+
dnf install -y clang-libs clang || sudo apt install llvm-dev libclang-dev clang
54+
- name: Build wheels
55+
uses: PyO3/maturin-action@v1
56+
if: ${{ matrix.platform.target == 'x86_64' }}
57+
with:
58+
target: ${{ matrix.platform.target }}
59+
args: --release --out dist --interpreter 3.10 3.11 3.12 3.13 --zig
4860
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
4961
manylinux: auto
5062
before-script-linux: |
@@ -168,7 +180,7 @@ jobs:
168180
3.10
169181
3.11
170182
3.12
171-
3.13
183+
# 3.13 leave out 3.13 due to a segfault
172184
architecture: ${{ matrix.platform.target }}
173185
- name: Install uv
174186
uses: astral-sh/setup-uv@v5

Cargo.lock

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ indicatif = "0.17.8"
4141
tch = { version = "0.19.0", optional = true }
4242

4343
[dependencies.pyo3]
44-
version = "0.23.3"
44+
version = "0.23.4"
4545
features = ["extension-module", "anyhow"]
4646

4747
[dev-dependencies]

0 commit comments

Comments
 (0)