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.
Seems to be working with 3.12
(In reply to Michael Cook from comment #1) > Seems to be working with 3.12 7/8 ratbagctl-test FAIL 0.04s exit status 1 >>> MALLOC_PERTURB_=165 LIBRATBAG_DATA_DIR=/var/tmp/portage/dev-libs/libratbag-0.17-r1/work/libratbag-0.17/data/devices /var/tmp/portage/dev-libs/libratbag-0.17-r1/work/li bratbag-0.17-build/ratbagctl.test -v ✀ stderr: Traceback (most recent call last): File "/var/tmp/portage/dev-libs/libratbag-0.17-r1/work/libratbag-0.17-build/ratbagctl.test", line 32, in <module> import toolbox File "/var/tmp/portage/dev-libs/libratbag-0.17-r1/work/libratbag-0.17-build/toolbox.py", line 24, in <module> import imp ModuleNotFoundError: No module named 'imp'
https://github.com/libratbag/libratbag/commit/27b0d4a2d9cd21fa9f11a0770d94c578db6324d1
Yeah, my bad for not trying with tests, just figured if piper was working it was probably good enough :P
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c8d8ab023fcd17769203ee7af06468bb01e35c commit c0c8d8ab023fcd17769203ee7af06468bb01e35c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-02 02:16:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-02 02:16:08 +0000 dev-libs/libratbag: enable py3.12 Closes: https://bugs.gentoo.org/929423 Signed-off-by: Sam James <sam@gentoo.org> .../files/libratbag-0.17-python3.12-imp.patch | 36 +++++++ dev-libs/libratbag/libratbag-0.17-r2.ebuild | 112 +++++++++++++++++++++ dev-libs/libratbag/libratbag-9999.ebuild | 2 +- 3 files changed, 149 insertions(+), 1 deletion(-)