The package needs porting to Python 3.13.
Currently there is an open blocker: cgitb python module dropped in python 3.13 https://gitlab.com/apparmor/apparmor/-/issues/447
Nevermind the blocker is fixed as of 4.0 and later.
Fix is here in case it needs to be backported to apparmor-3: https://gitlab.com/apparmor/apparmor/-/merge_requests/1439/diffs
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dac75631562535d0ca5ac23105c4b31de063007b commit dac75631562535d0ca5ac23105c4b31de063007b Author: Martin Mokry <martin-kokos@protonmail.com> AuthorDate: 2025-03-29 17:24:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-24 15:32:18 +0000 sys-apps/apparmor-utils: add 4.0.3 Bump to 4.* to include python3.13 compatibility fixes Closes: https://bugs.gentoo.org/952709 Signed-off-by: Martin Mokry <martin-kokos@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41373 Closes: https://github.com/gentoo/gentoo/pull/41373 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/apparmor-utils/Manifest | 1 + .../apparmor-utils/apparmor-utils-4.0.3.ebuild | 81 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dbd54357f81669e5bf16d3a9ac6eb1f09c8043 commit 48dbd54357f81669e5bf16d3a9ac6eb1f09c8043 Author: Martin Mokry <martin-kokos@protonmail.com> AuthorDate: 2025-03-29 08:15:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-24 15:32:17 +0000 sys-libs/libapparmor: add 4.0.3 Bump to 4.* to include python3.13 compatibility fixes Closes: https://bugs.gentoo.org/952709 Signed-off-by: Martin Mokry <martin-kokos@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41373 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libapparmor/Manifest | 1 + sys-libs/libapparmor/libapparmor-4.0.3.ebuild | 131 ++++++++++++++++++++++++++ 2 files changed, 132 insertions(+)