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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1ac30c2926a0180f0a5b8ed825872fdcf45a6a commit ba1ac30c2926a0180f0a5b8ed825872fdcf45a6a Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-05-11 16:10:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-28 02:06:13 +0000 media-libs/lv2: enable py3.12, disable broken test * Also address false UnquotedVariable from pkgcheck which was confused by "'""'". Closes: https://bugs.gentoo.org/929646 Bug: https://bugs.gentoo.org/930273 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36643 Signed-off-by: Sam James <sam@gentoo.org> media-libs/lv2/lv2-1.18.10-r1.ebuild | 87 ++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+)