-
Notifications
You must be signed in to change notification settings - Fork 490
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
Ledger 3.3.2 cannot be built with Python 3.12 support #2332
Comments
Thanks for raising this, @Rudd-O. I know I addressed deprecated Python APIs some time ago, but seems I missed a few spots. I'll look into it. |
Thank you so much for your prompt attention to the issue! I believe when this is fixed, Ledger's Python support will soon be enabled back in Fedora. |
@Rudd-O, while I dig deeper into the issue, could you provide more details, e.g. failing ledger build log or examples of code you consider problematic? |
Friendly ping on this, @Rudd-O 🙂 |
Python deprecated a long time ago the PyUnicode_AS_UNICODE macro and PyUNICODE type, per https://peps.python.org/pep-0624/ . With Python 3.12, these have been finally removed.
As a result, building on Fedora 39 with Python support is not possible anymore, because Fedora comes with Python 3.12.
I'm not sure what needs to be fixed, but it looks like a simple fix of changing a few macros. Thanks in advance for looking into it.
The text was updated successfully, but these errors were encountered: