Qiskit / rustworkx

A high performance Python graph library implemented in Rust.
https://www.rustworkx.org
Apache License 2.0
1.13k stars 154 forks source link

Disable `py-clone` feature for PyO3 #1295

Open IvanIsCoding opened 1 month ago

IvanIsCoding commented 1 month ago

The py-clone feature is going to be deprecated in the PyO3 0.23 release. Unfortunately, we use it extensively.

Some errors have detailed explanations: E0271, E0277, E0308, E0507, E0596, E0599.
For more information about an error, try `rustc --explain E0271`.
warning: `rustworkx` (lib) generated 1 warning
error: could not compile `rustworkx` (lib) due to 55 previous errors; 1 warning emitted

We need to fix at least 55 compiling errors before fully disabling the feature. PRs with partial migrations also help, it doesn't need to be submitted all at once.