Skip to content

Commit 942905f

Browse files
committed
fix windows aarch64
1 parent 92dba7d commit 942905f

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-4
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ jobs:
148148
- name: Set up Python
149149
uses: actions/setup-python@v5
150150
with:
151-
python-version: "3.13"
151+
python-version: "3.12"
152152
- uses: messense/maturin-action@v1
153153
with:
154154
target: aarch64-pc-windows-msvc
155155
command: build
156156
sccache: true
157-
args: --release -o dist -i 3.9 3.10 3.11 3.12 3.13
157+
args: --release -o dist -i 3.11 3.12
158158
- name: Upload wheels
159159
uses: actions/upload-artifact@v4
160160
with:

Cargo.lock

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ crate-type = ["cdylib"]
1919

2020
[dependencies]
2121
lazy_static = "1.5.0"
22-
pyo3 = {version = "0.23.2", features = ["extension-module", "abi3-py39"]}
22+
pyo3 = {version = "0.23.2", features = ["extension-module", "generate-import-lib", "abi3-py39"]}
2323

2424
# tzf-rs = { git = "https://github.com/ringsaturn/tzf-rs", rev = "31b1730", default-features = false}
2525
tzf-rs = { version = "0.4.9", default-features = false }

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ dev = [
5555

5656
[tool.maturin]
5757
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
58-
features = ["pyo3/extension-module"]
58+
features = ["pyo3/extension-module", "pyo3/generate-import-lib"]

0 commit comments

Comments
 (0)