From a02ed4db9fe9a97ebae692b92ad9a23e89e995ee Mon Sep 17 00:00:00 2001 From: ringsaturn Date: Mon, 2 Dec 2024 21:45:29 +0800 Subject: [PATCH] fix windows aarch64 --- .github/workflows/CI.yml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7b13f01..ee7a330 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -148,13 +148,13 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.12" - uses: messense/maturin-action@v1 with: target: aarch64-pc-windows-msvc command: build sccache: true - args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13 + args: --release -o dist -i 3.11 3.12 - name: Upload wheels uses: actions/upload-artifact@v4 with: diff --git a/pyproject.toml b/pyproject.toml index aad8583..31a6db3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,4 +55,4 @@ dev = [ [tool.maturin] # "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so) -features = ["pyo3/extension-module"] +features = ["pyo3/extension-module", "pyo3/generate-import-lib"]