BeagleBone Black AM3358 Debian 10.3 2020-04-06 4GB SD IoT update python3 and sqlite

Hello
I would like to ask for help regarding updating Python and SQLite to their latest versions on a BeagleBone Black AM3358 Debian 10.3 2020-04-06 4GB SD IoT system, where the default installed versions are Python 3.7 and SQLite 3.27. What are the possible ways to assist me in upgrading both to their latest versions?

Thank you.

It’s the default in debian, 10.x, you will not get a major upgrade from debian 10.x unless you upgrade to 11.x or testing… or rebuild it your self.

Is it recommended to compile python by yourself?