Skip to content

Commit

Permalink
Require Python 3.6 for Samba 4.13
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
abartlet committed Mar 9, 2020
1 parent e9ce0f1 commit 609c990
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions WHATSNEW.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
================
Expand Down
2 changes: 1 addition & 1 deletion buildtools/wafsamba/samba_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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)
Expand Down

0 comments on commit 609c990

Please sign in to comment.