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.
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.
*** Bug 931639 has been marked as a duplicate of this bug. ***
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.