Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846311 - sys-apps/razercfg: needs upgrade to Python 3.10 (PythonCompatUpdate)
Summary: sys-apps/razercfg: needs upgrade to Python 3.10 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Alexey Korepanov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-05-18 19:06 UTC by Sam James
Modified: 2022-05-26 01:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 19:06:48 UTC
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
Comment 1 Alexey Korepanov 2022-05-18 21:03:22 UTC
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.
Comment 2 Joonas Niilola gentoo-dev 2022-05-20 07:14:55 UTC
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?
Comment 3 Alexey Korepanov 2022-05-24 08:32:49 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2022-05-26 01:14:02 UTC
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(-)