Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken on Python 3.12 #778

Open
tobim opened this issue Apr 30, 2024 · 1 comment
Open

Broken on Python 3.12 #778

tobim opened this issue Apr 30, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@tobim
Copy link

tobim commented Apr 30, 2024

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 tobim added the 🐞 bug Something isn't working label Apr 30, 2024
@wycontir
Copy link

wycontir commented Jan 1, 2025

this error is still happening on the latest version of both pyo3 and python. are there any possible fixes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants