This package does not support Python 3.10. Please test it with Python 3.10 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/13aa993921f19b6b095297721ffb0d0b. Ask in #gentoo-python on IRC if need any help. $ pkgcheck scan -k PythonCompatUpdate sys-apps/razercfg sys-apps/razercfg PythonCompatUpdate: version 0.42: PYTHON_COMPAT update available: python3_10
I changed PYTHON_COMPAT to python3_10, it seems to work with my hardware. I'll see if I can test it somehow else. The pyton dependency on the website is 3.*, so 3.10 should indeed work.
Make sure you use python-3.10 when launching the program, e.g. /usr/lib/python-exec/python3.10/myapp But could you file a Github PR bumping PYTHON_COMPAT?
I created a PR. This took longer than normal - I destroyed my gentoo testing chroot and had to create it anew. It looks like python is only used for the GUI, while the core is in C. The gui works well for me with python 10.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3aac109133c85c2ce8c83ff4db3eb91c91f571 commit ea3aac109133c85c2ce8c83ff4db3eb91c91f571 Author: Alexey Korepanov <kaikaikai@yandex.ru> AuthorDate: 2022-05-24 08:21:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-26 01:13:52 +0000 sys-apps/razercfg: bump PYTHON_COMPAT to 3.10 Closes: https://bugs.gentoo.org/846311 Signed-off-by: Alexey Korepanov <kaikaikai@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/25615 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/razercfg/razercfg-0.42.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)