Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929423 - dev-libs/libratbag: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: dev-libs/libratbag: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Alex Barker
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:33 UTC by Michał Górny
Modified: 2024-06-02 02:26 UTC (History)
3 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:33:47 UTC
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.
Comment 1 Michael Cook 2024-06-02 01:26:00 UTC
Seems to be working with 3.12
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-02 02:00:57 UTC
(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'
Comment 4 Michael Cook 2024-06-02 02:25:34 UTC
Yeah, my bad for not trying with tests, just figured if piper was working it was probably good enough :P
Comment 5 Larry the Git Cow gentoo-dev 2024-06-02 02:26:04 UTC
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(-)