This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
I edited the ebuild: /usr/portage/app-emulation/virt-viewer/virt-viewer-11.0.ebuild replacing: PYTHON_COMPAT=( python3_{9..11} ) with: PYTHON_COMPAT=( python3_{9..12} ) Then ran: emerge --oneshot --jobs app-emulation/virt-viewer Emerge worked. Loaded an ran virt-viewer, and it is working in the use cases I have it for. Not a comprehensive test. I use VNC with LXC and QEMU/KVM virtual machines. Perhaps a ebuild bump could be made to expose it to wider testing?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9aca2fd5c782db14b5d26ed8dae071669f93c3d commit e9aca2fd5c782db14b5d26ed8dae071669f93c3d Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2024-06-19 10:24:21 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-06-19 10:32:41 +0000 app-emulation/virt-viewer: enable py3.12 Closes: https://bugs.gentoo.org/929315 Signed-off-by: Pacho Ramos <pacho@gentoo.org> app-emulation/virt-viewer/virt-viewer-11.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)