David Hewitt

Results 1495 comments of David Hewitt

> ` error: can't find Rust compiler` Have you attempted to install Rust onto your system? Also cc @messense looks like `maturin` isn't distributed as a binary for Android?

I don't think you will be able to install Rust through pip, that looks like a completely unrelated package. Try something like this: https://www.geeksforgeeks.org/how-to-install-rust-on-termux/

If you cannot get the rustc version then it sounds like this is an upstream Termux issue.

@rfsbraz that looks like a separate issue, you are building for alpine. There's a prebuilt wheel available for that platform so it should be possible to debug why that's not...

For anyone looking for prebuilt Termux wheels, see https://github.com/pydantic/pydantic-core/issues/1012#issuecomment-2511269688 I will close this; I think the rust issue is Termux issue and anyone who wants to avoid a build can...

In PyO3 0.23 we are going to release a new trait `IntoPyObject` to replace `IntoPy` based on what we've learned over time. I would be open to discussing the possibility...

Xref https://github.com/pydantic/pydantic-core/issues/619

Thanks for the report - looks like we're missing handling for `#[cfg]` inside our enum code. There are other places in the proc-macros where we handle cfgs, so it should...

@jeff-k sounds perfect and thank you for both the appreciation and contribution. If you're willing to open a PR, I'll gladly review. 🙏