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

Bug 929646

Summary: media-libs/lv2: needs upgrade to Python 3.12 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: CONFIRMED ---    
Severity: normal CC: anton.bugs, cerencio
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/gentoo/gentoo/pull/36643
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:46:37 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 Anton Bolshakov 2024-05-08 02:05:49 UTC
It's not very clear how python files are used here. 
There are few files which seems used during docs/test only and nothing is getting installed at all.

I tried it with python 3.12 locally:
 - it installs fine
 - it builds "doc" use flag fine
 - The test fails regardless of python version (another bug)

So it should be ok to add python 3.12 target.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-09 16:08:09 UTC
*** Bug 931639 has been marked as a duplicate of this bug. ***
Comment 3 Leandro Cerencio 2024-05-10 11:40:43 UTC
I could replicate this bug.


❯ sudo emerge -av media-libs/lv2::gentoo

 * IMPORTANT: 22 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for media-libs/lv2::gentoo
... done!
Dependency resolution took 1.14 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "media-libs/lv2::gentoo" has unmet requirements.
- media-libs/lv2-1.18.10::gentoo USE="-doc -plugins -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )


~ 
❯ 

I have my own overlay and just added

PYTHON_COMPAT=( python3_{9..12} )

on my ebuild.