build: Set default minimum python version to 3.4.0
authorAndrew Bartlett <abartlet@samba.org>
Fri, 15 Feb 2019 03:03:35 +0000 (16:03 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Mar 2019 04:06:15 +0000 (04:06 +0000)
This is the current minimum, but this may change before the 4.11 release.

Python 2.x support is no longer available except to build using --disable-python.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
buildtools/wafsamba/samba_python.py

index db9634015ec10753594851e9c36de8d330f819d1..598f83d68e82f7852fd4762ee31c3b8966cb3467 100644 (file)
@@ -5,7 +5,7 @@ from waflib import Build, Logs, Utils, Configure, Errors
 from waflib.Configure import conf
 
 @conf
-def SAMBA_CHECK_PYTHON(conf, mandatory=True, version=(2,6,0)):
+def SAMBA_CHECK_PYTHON(conf, mandatory=True, version=(3,4,0)):
 
     if not mandatory:
         version=(2,6,0)