[PATCH] Python3 compatible modules - credentials, param, _glue

Stefan Metzmacher metze at samba.org
Fri Feb 17 14:18:45 UTC 2017


Hi Lumir,

> From 8badaa098be996400b7743f350c6b18bf4ba6388 Mon Sep 17 00:00:00 2001
> From: Andrew Bartlett <abartlet at samba.org>
> Date: Wed, 15 Feb 2017 08:47:02 +0100
> Subject: [PATCH 01/30] build: Require Python 2.7.0 to build Samba unless 
>  --diable-python is set

We're not there yet, I think we should continue to support RHEL6 with
python 2.6
and I think with the compat code I posted a few weeks ago that should be
possible.

> diff --git a/wscript b/wscript
> index 9706e0f..1705d70 100644
> --- a/wscript
> +++ b/wscript
> @@ -108,7 +108,7 @@ def configure(conf):
>      conf.find_program('xsltproc', var='XSLTPROC')
>  
>      conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2, 6, 0))
> -    conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)
> +    conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True, version=(2, 7, 0))

This would at least need a good comment why the versions differ,
but as above I don't think we want that change (yet).

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170217/c6ef0e3c/signature.sig>


More information about the samba-technical mailing list