View previous topic :: View next topic |
Author |
Message |
dalu Guru


Joined: 20 Jan 2003 Posts: 535
|
Posted: Tue Apr 01, 2025 11:25 am Post subject: genkernel does not have the python 13 tag |
|
|
We're supposed to upgrade to Python 13, set it default, but genkernel doesn't have the Python 13 tag, blocking it all.
Not only is the half yearly upgrade super annoying and time and resource consuming,
when an essential package like genkernel isn't upgraded despite the news already being sent out..
it adds even more annoyance.
I see that https://bugs.gentoo.org/952740 exists.
Chop chop? |
|
Back to top |
|
 |
eeckwrk99 Apprentice


Joined: 14 Mar 2021 Posts: 254 Location: Gentoo forums
|
Posted: Tue Apr 01, 2025 1:03 pm Post subject: |
|
|
Python 13 will become the default on 2025-05-01.
There's no need to force the switch right now. As you found out, genkernel isn't compatible with Python 3.13 so a bug was opened. Packages will eventually get the 3.13 target at some point around 2025-05-01 so you can just wait until then.
Plus, genkernel is unmaintained (also this). If you were using it just to generate an initramfs, you should switch to sys-kernel/ugrd or sys-kernel/dracut.
If you were using it to compile a kernel, the alternative is basically the dist kernel or manual compilation, as mentioned on the Wiki.
Last edited by eeckwrk99 on Tue Apr 01, 2025 4:03 pm; edited 2 times in total |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23330
|
Posted: Tue Apr 01, 2025 1:43 pm Post subject: Re: genkernel does not have the python 13 tag |
|
|
dalu wrote: | We're supposed to upgrade to Python 13, set it default, but genkernel doesn't have the Python 13 tag, blocking it all. | Not quite. The upgrade is coming, and you have the option of doing it early, if your installed packages are compatible. I don't use genkernel, so I could do the upgrade today. dalu wrote: | Not only is the half yearly upgrade super annoying and time and resource consuming, | Yes, which is why we discourage people waiting that long between upgrades. dalu wrote: | when an essential package like genkernel isn't upgraded despite the news already being sent out.. | Genkernel is not essential.That says someone knows about the need.I do not speak for the treecleaners, but yes, this might be what gets genkernel chopped from the tree, if no one updates it. However, this upgrade might be as simple as adjusting the PYTHON_COMPAT to advertise support for the new version. |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4733 Location: Germany
|
Posted: Wed Apr 02, 2025 12:52 pm Post subject: |
|
|
/etc/portage/package.use/python: | */* PYTHON_TARGETS: -* python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_13
sys-kernel/genkernel PYTHON_SINGLE_TARGET: -* python3_12 | Code: | # emerge -avuDU @world genkernel
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 13.88 s (backtrack: 1/20).
[ebuild N ] sys-kernel/genkernel-4.3.16-r3::gentoo USE="firmware systemd (-ibm)" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 181,509 KiB
Total: 1 package (1 new), Size of downloads: 181,509 KiB
Would you like to merge these packages? [Yes/No] | should work. |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2110
|
Posted: Wed Apr 02, 2025 1:39 pm Post subject: |
|
|
The sad part is that genkernel is 99.9% bash.
Just one call is Python based because of Bug 412321 that expands paths. This is an os.path call (core to Python) and unlikely to change version to version. So, yes, it should be as simple as changing a number. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 20605
|
Posted: Wed Apr 02, 2025 4:07 pm Post subject: |
|
|
grknight wrote: | The sad part is that genkernel is 99.9% bash.
Just one call is Python based because of Bug 412321 that expands paths. This is an os.path call (core to Python) and unlikely to change version to version. So, yes, it should be as simple as changing a number. | It seems to work. ebuild ... compile was successful (4.3.16-r2). I don't use it, so can't otherwise test it. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
 |
|