This package does not support Python 3.11. Please test it with Python 3.11 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/abb5788ea81c7bbf4d40a2995b682eb9. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Ping. Python 3.11 is now default.
Patches exist in Fedora, Debian and Arch... but they are a bit hacky: https://gitlab.archlinux.org/archlinux/packaging/packages/0ad/-/blob/main/fix_python_3.11_ftbfs.patch?ref_type=heads#L95 I am unsure then about how to proceed :/ I was wondering about maybe applying all the patches and changes to the sources and simply providing a full tarball with them (if LICENSES would allow it) Other option could be to try to use a snapshot, but I don't know how latest git is working