Require Python 3.6 for Samba 4.13
authorAndrew Bartlett <abartlet@samba.org>
Wed, 4 Mar 2020 00:51:23 +0000 (13:51 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 9 Mar 2020 22:03:26 +0000 (22:03 +0000)
This allows Samba to use formatted string literals, which
are quite handy.

REF: https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep498

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
WHATSNEW.txt
buildtools/wafsamba/samba_python.py

index 93341756593823e8f6e8658f93c5caa47aa616d7..e9b269209f0c41975354dfb777ca80376b3f9b64 100644 (file)
@@ -16,6 +16,17 @@ UPGRADING
 NEW FEATURES/CHANGES
 ====================
 
+Python 3.6 Required
+-------------------
+
+Samba's minimum runtime requirement for python was raised to Python
+3.5 with samba 4.12.  Samba 4.13 raises this minimum version to Python
+3.6 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)
+
 
 REMOVED FEATURES
 ================
index 0b96a81ff4126522baafc9fb4b7b30c0974e118e..994190fdeb2b09b0c90baece7e4902a796c0a723 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, version=(3,5,0)):
+def SAMBA_CHECK_PYTHON(conf, version=(3,6,0)):
 
     if conf.env.disable_python:
         version=(2,6,0)