1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Require Python 3.6 for Samba 4.13

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>
This commit is contained in:
Andrew Bartlett 2020-03-04 13:51:23 +13:00
parent e9ce0f13e6
commit 609c990347
2 changed files with 12 additions and 1 deletions

View 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
================

View 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)