The Python 3.6 changes are only in actual .py files, not in the build system
nor the C side of things, so relax this so we can still build on oss-fuzz
which is based on Ubuntu 16.04 for now.
REF: https://github.com/google/oss-fuzz/issues/3505
REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21189
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
if conf.env.disable_python:
version=(2,6,0)
+ if conf.env.enable_fuzzing:
+ version=(3,5,0)
+
# enable tool to build python extensions
if conf.env.HAVE_PYTHON_H:
conf.check_python_version(version)