i'd be kind of 'off topic' here, armbian is somewhat in the 'fast lane', 'bleeding edge'
https://www.debian.org/releases/
recently when we worked on Orange Pi Zero 3
we actually jumped right into bookworm, had there been something more 'bleeding edge' that may be it
and that we jumped into 6.6 kernel (as it is about the 1st kernel that has support for Orange Pi Zero 3 on allwinner H618 cpu, and that actually as development progress, it actually advanced to 6.7, 6.8 etc.
Today, I just installed Ubuntu jammy from Ubuntu, only to find that that is 6.5 !
and that even orange pi's 'official' image for Orange Pi Zero 3 gets 'left behind' at 6.1
I'd suggest to try upgrading to the 'latest' debian (bookworm?) image, it may take quite a bit of 'reinstall' though. And that everything is 'brand new', 'bleeding edge' there.
the python 3 version is 3.11, that in ubuntu jammy is 3.10 !
that said, there are bound to be some broken bones left around somewhere, it is 'under construction' (all the time)
oh some fun stuff, 6.8 is 9 days old, who knows that might be the new Armbian kernel
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/