sys-apps/kmod has no python-3.11 support
Seems to be last package to not have it for me and prevents me from switching (and no i dont want to run multiple pythons) since samba got python 3.11 support, question is, is it actual compatibility issue or just "not officially supported". For testing purposes, there should really be some sort of easy python compatibility override flag from make.conf or portage bashrc "hack", so we can easily upgrade to new python version, without creating local ebuilds...
(In reply to Klemen Mihevc from comment #1) > Seems to be last package to not have it for me and prevents me from > switching (and no i dont want to run multiple pythons) since samba got > python 3.11 support, question is, is it actual compatibility issue or just > "not officially supported". For testing purposes, there should really be > some sort of easy python compatibility override flag from make.conf or > portage bashrc "hack", so we can easily upgrade to new python version, > without creating local ebuilds... There is: PYTHON_COMPAT_OVERRIDE. For kmod, it's just because nobody's tested it yet.
For testing, with python-3.11 I can do: lsmod Module Size Used by btusb 45056 0 btintel 32768 1 btusb pkcs8_key_parser 16384 0 modinfo pkcs8_key_parser filename: /lib/modules/6.1.9-gentoo-x86_64/kernel/crypto/asymmetric_keys/pkcs8_key_parser.ko license: GPL description: PKCS#8 certificate parser depends: retpoline: Y intree: Y name: pkcs8_key_parser vermagic: 6.1.9-gentoo-x86_64 SMP preempt mod_unload modversions
If someone could figure out something that uses kmod's Python bindings and test that, it'd be great.
(In reply to Sam James from comment #4) > If someone could figure out something that uses kmod's Python bindings and > test that, it'd be great. Sam, from: https://github.com/agrover/python-kmod I do the following: wget https://codeload.github.com/agrover/python-kmod/tar.gz/refs/tags/v0.9.1 -O python-kmod-0.9.1.tar.gz tar zxvf python-kmod-0.9.1.tar.gz cd python-kmod-0.9.1/ python setup.py build cd build/ cd lib.linux-x86_64-cpython-311/ python import kmod >>> km = kmod.Kmod() >>> [(m.name, m.size) for m in km.loaded()] [('btusb', 45056), ('btintel', 32768), ('pkcs8_key_parser', 16384)]
Thank you! https://bugs.gentoo.org/408915#c4