kernel-devsrc rdepends on python2, but python2 is EOL next year. Related work is bug 13358 for perf using py2.
I'm working on this and perf at the moment. python3-core *should* meet the runtime needs.
Implementation is complete for this.
Fixed in oe-core 6745088b6c9e5c70df59d667347ede470df9a91d.