Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916869 - sys-auth/pambase: Python 3.12 support is missing
Summary: sys-auth/pambase: Python 3.12 support is missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://gitweb.gentoo.org/repo/gentoo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-04 23:18 UTC by Aliaksei Urbanski
Modified: 2024-01-19 05:39 UTC (History)
3 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 Aliaksei Urbanski 2023-11-04 23:18:04 UTC
Hello,

I'm trying to clean up my Gentoo Linux systems after migrating to Python 3.12.

Unfortunately, there is no Python 3.12 declared in PYTHON_COMPAT for pambase.
pambase depends on jinja, so it forces jinja to be installed with python_targets_python3_11 which results in many other packages to be installed with Python 3.11 support. Even worse, each of them required to add it to package.use/* since I prefer to keep PYTHON_TARGETS="python3_12".

It would be great if pambase can support Python 3.12.
Please let me know if you need me to perform some testing.

Thanks!

Reproducible: Always
Comment 1 Aliaksei Urbanski 2023-11-07 01:13:01 UTC
I dug into the pambase code a bit.
As far as I see, there is no incompatibilities with Python 3.12.

Here's a pull request you might find useful:
https://github.com/gentoo/pambase/pull/18
Comment 2 Larry the Git Cow gentoo-dev 2024-01-19 05:39:13 UTC
The bug has been closed via the following commit(s):

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

commit f64254e990a01567b0a01f173c730aa01934f2d8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-19 05:36:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-19 05:39:00 +0000

    sys-auth/pambase: add 20240119
    
    Closes: https://bugs.gentoo.org/726050
    Closes: https://bugs.gentoo.org/916869
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-auth/pambase/Manifest                 |   1 +
 sys-auth/pambase/pambase-20240119.ebuild  | 116 ++++++++++++++++++++++++++++++
 sys-auth/pambase/pambase-999999999.ebuild |  24 ++++---
 3 files changed, 131 insertions(+), 10 deletions(-)