Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929853 - sys-libs/libapparmor: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: sys-libs/libapparmor: 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: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:53 UTC by Michał Górny
Modified: 2024-06-01 18:51 UTC (History)
1 user (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:53:55 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 Nowa Ammerlaan gentoo-dev 2024-06-01 17:39:33 UTC
Ebuild has `REQUIRED_USE="${PYTHON_REQUIRED_USE}"` but also `IUSE=+python`. 

If possible it would be nice to change this to `REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"` and not enable the python flag by default so the lack of python3_12 compat is less of a nuisance in this package.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-01 18:51:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bad1b4a5c6f7c49eadfa82a6f091ae6e20f506a

commit 1bad1b4a5c6f7c49eadfa82a6f091ae6e20f506a
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-06-01 18:48:29 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-06-01 18:50:57 +0000

    sys-libs/libapparmor: various python fixes
    
    - respect python_targets in configure
    - fix configure with -native-symlinks (Bug 764779)
    - enable python3_12 (Bug 929853)
    - make REQUIRED_USE conditional to python flag
    
    Closes: https://bugs.gentoo.org/929853
    Closes: https://bugs.gentoo.org/764779
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild | 135 +++++++++++++++++++++++
 1 file changed, 135 insertions(+)