summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-08-26 14:36:49 +1200
committerAndrew Bartlett <abartlet@samba.org>2019-09-02 01:14:05 +0000
commitb76bf7afd07924e65cccbee7614b462312d4437c (patch)
treeb9321bb97546df670ed2985a77a7e23c6cfe5de6
parent29729818823161c08b09bcc8e43c3942a503b129 (diff)
downloadsamba-b76bf7afd07924e65cccbee7614b462312d4437c.tar.gz
build: Raise minimum python version to 3.5.0 for Samba 4.12
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 2 01:14:05 UTC 2019 on sn-devel-184
-rw-r--r--WHATSNEW.txt10
-rw-r--r--buildtools/wafsamba/samba_python.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index c3b99dbee80..2a774ace6d7 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -16,6 +16,16 @@ UPGRADING
NEW FEATURES/CHANGES
====================
+Python 3.5 Required
+-------------------
+
+Samba's minimum runtime requirement for python was raised to Python
+3.4 with samba 4.11. Samba 4.12 raises this minimum version to Python
+3.5 both to access new features and because this is the oldest version
+we test with in our CI infrastructure.
+
+(Build time support for the file server with Python 2.6 has not
+changed)
GnuTLS 3.4.7 required
---------------------
diff --git a/buildtools/wafsamba/samba_python.py b/buildtools/wafsamba/samba_python.py
index 4476d335248..cb726cf0bcc 100644
--- a/buildtools/wafsamba/samba_python.py
+++ b/buildtools/wafsamba/samba_python.py
@@ -5,7 +5,7 @@ from waflib import Build, Logs, Utils, Configure, Errors
from waflib.Configure import conf
@conf
-def SAMBA_CHECK_PYTHON(conf, version=(3,4,0)):
+def SAMBA_CHECK_PYTHON(conf, version=(3,5,0)):
if conf.env.disable_python:
version=(2,6,0)