build: Make Python 3.6 the minimum to build now oss-fuzz is upgraded
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Sep 2021 08:43:11 +0000 (20:43 +1200)
committerUri Simchoni <uri@samba.org>
Mon, 13 Sep 2021 04:53:32 +0000 (04:53 +0000)
The exception to allow building, but not operating, with Python 3.5
was only because oss-fuzz provided only Python 3.5 on Ubuntu 16.04.

Ubuntu 20.04 is now the base image provided, so this exception can
be removed.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
buildtools/wafsamba/samba_python.py

index 002357bb556da5f1674f2844642e01b38b14f2e7..12a94c8079d6474bd49f5e654fce889a8d1f7dcb 100644 (file)
@@ -7,9 +7,6 @@ from waflib.Configure import conf
 @conf
 def SAMBA_CHECK_PYTHON(conf, version=(3,6,0)):
 
-    if conf.env.enable_fuzzing:
-        version=(3,5,0)
-
     # enable tool to build python extensions
     if conf.env.HAVE_PYTHON_H:
         conf.check_python_version(version)