build: add support for python3.11 and higher
authorOscar Molnar <oscar@tymscar.com>
Sat, 6 Aug 2022 15:13:41 +0000 (16:13 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Oct 2022 20:21:18 +0000 (22:21 +0200)
commit830b07f08e7dfde0d5c44b6659dfa3d9af44e208
tree45f124fe21ae8363480917f7be3f2c89b63681a8
parent084a8a2fafbaecb821cfa71f0e1c9b8464f23a80
build: add support for python3.11 and higher

python3.11 beta is out but fails to run the makefile currently
this supports python versions from 3.6 to 3.99 with the python3 binary
it also checks specifically for 3.11 as it is the latest version out

Signed-off-by: Oscar Molnar <oscar@tymscar.com>
(cherry picked from commit a9e8eec221874e5840d659aed3f68850ff1d9982)
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz> [rebase for 21.02]
include/prereq-build.mk