-
Notifications
You must be signed in to change notification settings - Fork 887
Closed
Description
From the discussion in #1811, it sounds like the use of path = .
dev-dependency is ill-advised.
Line 41 in 79c7e28
pyo3 = { path = ".", default-features = false, features = ["macros", "auto-initialize"] } |
@decathorpe - the use of this arose because cargo test
without the features enabled by the self-dev-dependency is more-or-less pointless - we need the auto-initialize
feature enabled else every test will fail when trying to get the Python interpreter. Perhaps I can come up with a better solution for that.
FWIW this was recommended in rust-lang/cargo#2911 (comment)