Skip to content

Commit d33763c

Browse files
committed
fix windows aarch64
1 parent 92dba7d commit d33763c

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,14 @@ 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
158+
maturin-version: v1.7.7
158159
- name: Upload wheels
159160
uses: actions/upload-artifact@v4
160161
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Issues = "https://github.com/ringsaturn/tzfpy/issues"
4343
dev = [
4444
"ruff==0.8.1",
4545
"citiespy>=0.6.6",
46-
"maturin==1.7.6",
46+
"maturin==1.7.7",
4747
"pytest>=8.3.3",
4848
"pytest-benchmark>=5.1.0",
4949
"pytest-cov>=6.0.0",
@@ -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)