[Pkg-rust-maintainers] python-libcst: FTBFS: error: failed to select a version for the requirement `itertools = "^0.13.0"`
Peter Green
plugwash at debian.org
Tue Apr 14 15:34:54 BST 2026
The itertools issue seems to be just a trivial dependency bump, but the
pyo3 update is a bigger problem. After updating the dependencies,
I got stuck on errors like.
> error[E0425]: cannot find type `PyObject` in crate `pyo3`
> --> libcst/src/nodes/whitespace.rs:14:35
> |
> 14 | #[cfg_attr(feature = "py", derive(TryIntoPy))]
> | ^^^^^^^^^ not found in `pyo3`
> |
> = note: this error originates in the derive macro `TryIntoPy` (in Nightly bui
> help: consider importing this struct
> |
> 6 + use pyo3::ffi::PyObject;
> |
I've tried adding the import mentioned in the help message but it doesn't
seem to make any difference.
More information about the Pkg-rust-maintainers
mailing list