Currently, only python 3.8 through python 3.10 are supported. Adding support requires just changing the PYTHON_COMPAT line in the ebuild to PYTHON_COMPAT=( python3_{8..11} ) is enough.
You ran the test suite with 3.11?
(In reply to Sam James from comment #1) > You ran the test suite with 3.11? Ah, we didn't run tests w/ waf, only meson in 9999.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bdb94b8d37bba617eed48dd58b1191499d3f756 commit 5bdb94b8d37bba617eed48dd58b1191499d3f756 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-28 08:29:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-28 08:29:54 +0000 media-video/mpv: add Python 3.11 Closes: https://bugs.gentoo.org/861662 Signed-off-by: Sam James <sam@gentoo.org> media-video/mpv/mpv-0.34.1-r1.ebuild | 2 +- media-video/mpv/mpv-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)