Closed petrasvestartas closed 2 months ago
Please don't open issue tracker tickets for things that aren't bugs with nanobind, this is why there is a discussion forum.
Regarding your questions: Older versions of PyPy segfault when used with nanobind. This check warns you about API incompatibility and (if you were to fix the API issues) undefined behavior. There is no solution to your request, you will either need to give up PyPy, change the Python version requirement, or switch back to pybind11.
Thank you for answer, I will keep my questions in discussions.
For now I see there is no solution for my questions.
Problem description
I am using python 3.9.10. I cannot use any later version. The whole software I am using is this python version dependent... and I do not want to go back using pybind11 (which is awesome but nanobind is awesomer)
I did this that compiled nanobind:
But wouldn it break the compatibility with C API?
The nanobind examples requires 7.3.10 PyPy version, but the 3.9.10 python can only install 7.3.8 version. Because of this I get error:
133 | # error "nanobind requires a newer PyPy version (>= 7.3.10)"
Reproducible example code
I tried changing this
but then I get this: