-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Runtime error wih python3.12 rust-cpython is no longer maintained #50
Comments
I'd love help, I don't I'll be able to find the time to port it to PyO3. Flapigen is awesome though, do they not support pyo3? No plan? |
Funnily enough, no. Even more funnily enough, No progress has been done. If it feels better, flappigen doesnt work on python3.12 either, for me at least. |
flapigen issue for 3.12 incompatibility: Dushistov/flapigen-rs#460 It's been sitting there for 3 weeks. I don't think upstream will fix this any time soon, so I'm wondering whether it's easier to port flapigen to pyo3 or port etebase-py itself to pyo3, throwing out flapigen entirely. |
Rust python binding in the library are provided by rust-cpython, however since last month, it is no longer maintained.
Which is slightly a problem, because Python 3.12 has deprecades Py_Unicode representation.
So, during a build with Python3.12, nothing bad happens, but at runtime we get:
An alternative exists, PyO3, and it should be more-or-less a drop in replacement for rust-cpython.
However in addition to have it as a dependancy, a build-dependancy also has it as one,
flapigen-rs also depends on rust-cpython, making it an upstream issue also, in a way.
Is it possible to rewrite just etebase-py, and let upstream worry about upstream, or drop it as a requirement completely? That would mean a slight rewrite. (i already started, do not promise results, just as a though experiment)
The text was updated successfully, but these errors were encountered: