Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 897046

Summary: media-sound/whipper: needs upgrade to Python 3.11 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Quentin Retornaz <gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 896398    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 09:46:37 UTC
This package does not support Python 3.11.  Please test it with Python 3.11 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/abb5788ea81c7bbf4d40a2995b682eb9.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Jared B. 2023-05-02 03:26:29 UTC
I believe this is compatible with 3.11.  My only hesitation is that I still have python 3.10 installed on my system, but pretty sure it's running under 3.11.  Here's how I tested:

1. Copy existing ebuild to local overlay and add ,11 to PYTHON_COMPAT

2. Install updated build:

[ebuild   R   ~] media-sound/whipper-0.10.0::local  USE="-test" PYTHON_TARGETS="python3_11 -python3_10" 0 KiB

3. Run whipper to rip a CD

4. Verify Python 3.11 is use via ps axw | grep whipper:

23213 pts/3    S+     0:00 /usr/bin/python3.11 /usr/lib/python-exec/python3.11/whipper -e success cd -d /dev/br2 rip -O /tmp/autoflac/202305012205 --track-template=track-%t --disc-template=disc -U -C file

5. Verify rip completed successfully

Obviously not an exhaustive test, but at least the most important feature seems to work fine with 3.11.