Summary: | games-util/sc-controller: needs upgrade to Python 3.11 (PythonCompatUpdate) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrewammerlaan, kroemmelbein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 896398 |
Description
Michał Górny
![]() ![]() ![]() ![]() FYI I've briefly tried 3.11 and a couple of tests fail that pass with 3.10. I'll look closer soon. Ping. It's because Python 3.11 has changed the behaviour of str() on IntEnums. Haven't figured out a good solution yet. Now I have. More tomorrow. I have a patch and the tests pass now but I want to do some run-time testing as I do use this a lot. At first glance, it looks like there may be a little more breakage, but maybe these are errors I just didn't notice before. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683adc3c6adb00fcb54fa3fee43e9ae700063503 commit 683adc3c6adb00fcb54fa3fee43e9ae700063503 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2023-04-11 18:48:50 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-04-11 18:49:46 +0000 games-util/sc-controller: enable python3.11 Closes: https://bugs.gentoo.org/896966 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../files/sc-controller-0.4.8.9-python3_11.patch | 24 +++++++++ .../sc-controller/sc-controller-0.4.8.9-r1.ebuild | 57 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) Andrew, isn't chewi actively working on this? (In reply to James Le Cuirot from comment #5) > I have a patch and the tests pass now but I want to do some run-time testing > as I do use this a lot. At first glance, it looks like there may be a little > more breakage, but maybe these are errors I just didn't notice before. (In reply to Sam James from comment #7) > Andrew, isn't chewi actively working on this? Oh my god, I'm so sorry, I had completely missed the recent comments on this bug. I should have read it properly before pushing. For what its worth, the patch fixes the py3.11 problem on my end, did some run-time testing and it was working as before with python 3.10. I'm really sorry, I was in the flow and working too fast. |