Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929646 - media-libs/lv2: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: media-libs/lv2: 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
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PullRequest
: 931639 (view as bug list)
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:46 UTC by Michał Górny
Modified: 2024-05-28 02:10 UTC (History)
4 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: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.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-28 02:10:25 UTC
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(+)