Skip to content

Commit bd02870

Browse files
committed
fix: remove auto-initialize from pyo3 for Python extension module
The auto-initialize feature is for embedding Python in binaries, not for Python extensions (cdylib). The extension module is loaded by the host Python interpreter which already initializes Python.
1 parent 7051cdd commit bd02870

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdk/python/Cargo.toml

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

1414
[dependencies]
1515
a3s-code-core = { version = "1.7.0", path = "../../core", features = ["ahp"] }
16-
pyo3 = { version = "0.23", features = ["auto-initialize"] }
16+
pyo3 = "0.23"
1717
tokio = { version = "1.35", features = ["full"] }
1818
serde_json = "1.0"
1919
anyhow = "1.0"

0 commit comments

Comments
 (0)