You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dyld: Symbol not found: _PyBaseObject_Type
Referenced from: /Users/nbrempel/Projects/instant-segment/target/debug/deps/instant_segment-9a57e3ec25b687df
Expected in: flat namespace
in /Users/nbrempel/Projects/instant-segment/target/debug/deps/instant_segment-9a57e3ec25b687df
error: test failed, to rerun pass '-p instant-segment-py --lib'
Yup, that's indeed the PyO3 issue. I don't think annotating all the impls with #[cfg(not(test))] is a good solution, so we'll need something else. For now, you can run make test-python to run the Python tests or cargo t -p instant-segment --all-features to run the Rust tests.
cargo test
Seems related to PyO3/pyo3#340
I am able to get tests to pass by adding
#[cfg(not(test))]
wherever we use #[pymethods]:The text was updated successfully, but these errors were encountered: