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

Handle private APIs removed in Python 3.13 #361

Closed
osandov opened this issue Oct 23, 2023 · 1 comment
Closed

Handle private APIs removed in Python 3.13 #361

osandov opened this issue Oct 23, 2023 · 1 comment

Comments

@osandov
Copy link
Owner

osandov commented Oct 23, 2023

Fedora reported that drgn fails to build with Python 3.13: https://bugzilla.redhat.com/show_bug.cgi?id=2245652. This is because a few private APIs were removed in Python 3.13.0a1:

@osandov
Copy link
Owner Author

osandov commented Jan 16, 2024

Most of these removals were reverted. The last two that we still need are _PyDict_GetItemIdWithError() and _PyDict_SetItemId().

osandov added a commit that referenced this issue Feb 27, 2024
There have been a few pre-releases now, and we fixed #361, so let's
start testing it in the CI.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
osandov added a commit that referenced this issue Mar 4, 2024
With #361 and #385 fixed, we can build on Python 3.13. Since it's still
in alpha, there could be new breakages, but at least we'll catch them
promptly.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant