wasmer-python icon indicating copy to clipboard operation
wasmer-python copied to clipboard

Broken on Python 3.12

Open tobim opened this issue 2 months ago • 0 comments

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

tobim avatar Apr 30 '24 05:04 tobim