I am learning how to compile custom Linux using Yocto. Currently I'm using Yocto Project 2.4 and I have added Python3 to the build. However, Python 3.5.2 was installed and I am interested in a newer version (e.g., Python 3.8.5). The reason I'm using this Yocto Project version is because I'm trying to compile a specific Linux version for Toradex modules.
So, how can I backport a newer Python version to my build? The only information I've found is in this forum post, that mentions something about copying python3_x.x.x.bb and python3.inc files, but it is not clear to me.