File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/rust/engine/engine_pyo3 Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ default = []
20
20
[dependencies ]
21
21
hashing = { path = " ../hashing" }
22
22
parking_lot = " 0.11"
23
- pyo3 = { version = " 0.13" , features = [" extension-module" ] }
23
+ # We must disable the `auto-initialize` feature because we do not enable `extension-module` normally
24
+ # (see above comment in `features`), so `auto-initialize` would try to link to a static Python interpreter during
25
+ # tests, which may fail. However, we need to then re-activate the `macros` feature. See
26
+ # https://pyo3.rs/v0.13.2/features.html
27
+ pyo3 = { version = " 0.13" , default-features = false , features = [" macros" ] }
24
28
task_executor = { path = " ../task_executor" }
25
29
testutil_mock = { package = " mock" , path = " ../testutil/mock" }
You can’t perform that action at this time.
0 commit comments