wasmer-python
wasmer-python copied to clipboard
Broken on Python 3.12
Thanks for the bug report!
Describe the bug
Trying to build fails with:
error[E0425]: cannot find function, tuple struct or tuple variant `PyUnicode_READY` in module `ffi`
--> /build/wasmer-compiler-singlepass-1.1.1-vendor.tar.gz/pyo3/src/types/string.rs:234:30
|
234 | let ready = ffi::PyUnicode_READY(ptr);
| ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `PyUnicode_IS_READY`
Looks like an outdated pyo3 version.
Steps to reproduce
With Nix:
nix -L build github:nixos/nixpkgs/fcd0c62f9e11f3ce754e7e20de08531d7ac5f757#python312Packages.wasmer