Skip to content

Commit f13fd04

Browse files
committed
Setup build with Python Limited API 3.8
1 parent 0280232 commit f13fd04

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies = [
4343

4444
[tool.maturin]
4545
manifest-path = "sphinxcontrib/svgbob/_svgbob/Cargo.toml"
46-
features = ["extension-module"]
46+
features = ["extension-module", "abi3"]
4747
module-name = "sphinxcontrib.svgbob._svgbob"
4848

4949
[tool.cibuildwheel]
@@ -62,4 +62,4 @@ environment = { MACOSX_DEPLOYMENT_TARGET = "10.12" }
6262
before-all = [
6363
"curl -sSf https://sh.rustup.rs | sh -s -- -y",
6464
"rustup target add aarch64-apple-darwin"
65-
]
65+
]

sphinxcontrib/svgbob/_svgbob/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ version = "0.7.2"
3030

3131
[features]
3232
default = []
33+
abi3 = ["pyo3/abi3-py38"]
3334
nightly = ["pyo3/nightly"]
3435
extension-module = ["pyo3/extension-module"]

0 commit comments

Comments
 (0)