From 7955bf473f63e31566e29299b03d44d9b450d1ae Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 8 Apr 2013 17:25:27 +1000 Subject: build: Raise minimum python version to 2.5.0 for samba build RHEL5 has a python26 package for a modern python, and was the main reason we kept python 2.5 support. However, this support never actually worked for AD DC installations, as samba-tool uses a feature only in 2.5 and above. Very few folks noticed and those were on RHEL5, and moving to 2.5 allows us to remove some other workarounds. Andrew Bartlett Reviewed-by: Matthieu Patou Reviewed-by: Andrew Bartlett --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 1ef55abc89..4944a72bc3 100644 --- a/wscript +++ b/wscript @@ -85,7 +85,7 @@ def configure(conf): conf.find_program('perl', var='PERL', mandatory=True) conf.find_program('xsltproc', var='XSLTPROC') - conf.SAMBA_CHECK_PYTHON(mandatory=True) + conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2,5,0)) conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True) if sys.platform == 'darwin' and not conf.env['HAVE_ENVIRON_DECL']: -- cgit