i have the same issue as you, and i have done it as follows.
My Testmachine is the Odroid HC1 with the Kernel 4.9 test image for the moment, but mentioned that i do not know if it occurs any problems.
apt-get install make
wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tar.xz
tar xJf Python-3.6.3.tar.xz
cd Python-3.6.3
./configure
make
make install
reboot
Note: the “make” takes about 5-10 minutes on Odroic HC1, and then further 5 minutes at “make install”.
That looks good so far, let’s start testing :mrgreen:
#get source
cd /home
wget https://www.python.org/ftp/python/3.4.4/Python-3.4.4.tar.xz
tar xf Python-3.4.4.tar.xz
cd ./Python-3.4.4 #compile
./configure
make
make install #switch to new version
update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3 10 #check: python3 --version
If you are going to build a package…why not use checkinstall (vs make install)…then build a .deb package and list a repository for it…so we all can enjoy it