Describe the bug
Updated pyo3 to 0.29.0 after receiving alert
warning: use of deprecated associated constant pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG: The FromPyObject implementation for #[pyclass] types which implement Clone is changing to an opt-in option. Use #[pyclass(from_py_object)] to opt-in to the FromPyObject derive now, or #[pyclass(skip_from_py_object)] to skip the FromPyObject implementation.
--> src/lib.rs:767:1
|
767 | #[pyclass]
| ^^^^^^^^^^
To Reproduce
Steps to reproduce the behavior:
git clone microBioRust
cd microbiorust-py
maturin develop --release
or
Expected behavior
tests are all passing in pytest and in cargo test but receiving deprecation warning
Desktop (please complete the following information):
Mac OSX
Additional context
Add any other context about the problem here.
Describe the bug
Updated pyo3 to 0.29.0 after receiving alert
warning: use of deprecated associated constant
pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG: TheFromPyObjectimplementation for#[pyclass]types which implementCloneis changing to an opt-in option. Use#[pyclass(from_py_object)]to opt-in to theFromPyObjectderive now, or#[pyclass(skip_from_py_object)]to skip theFromPyObjectimplementation.--> src/lib.rs:767:1
|
767 | #[pyclass]
| ^^^^^^^^^^
To Reproduce
Steps to reproduce the behavior:
git clone microBioRust cd microbiorust-py maturin develop --releaseor
cargo testExpected behavior
tests are all passing in pytest and in cargo test but receiving deprecation warning
Desktop (please complete the following information):
Mac OSX
Additional context
Add any other context about the problem here.