[Bf-blender-cvs] [cbe07d980cc] master: Python: bump minimum version to 3.6
Campbell Barton
noreply at git.blender.org
Tue Oct 3 14:38:37 CEST 2017
Commit: cbe07d980ccc860cb01549272fc95c08912581d7
Author: Campbell Barton
Date: Tue Oct 3 23:50:34 2017 +1100
Branches: master
https://developer.blender.org/rBcbe07d980ccc860cb01549272fc95c08912581d7
Python: bump minimum version to 3.6
===================================================================
M build_files/cmake/Modules/FindPythonLibsUnix.cmake
M source/blender/python/intern/bpy_util.h
===================================================================
diff --git a/build_files/cmake/Modules/FindPythonLibsUnix.cmake b/build_files/cmake/Modules/FindPythonLibsUnix.cmake
index 9d79bdd778d..e9fec25f815 100644
--- a/build_files/cmake/Modules/FindPythonLibsUnix.cmake
+++ b/build_files/cmake/Modules/FindPythonLibsUnix.cmake
@@ -38,7 +38,7 @@ IF(NOT PYTHON_ROOT_DIR AND NOT $ENV{PYTHON_ROOT_DIR} STREQUAL "")
SET(PYTHON_ROOT_DIR $ENV{PYTHON_ROOT_DIR})
ENDIF()
-SET(PYTHON_VERSION 3.5 CACHE STRING "Python Version (major and minor only)")
+SET(PYTHON_VERSION 3.6 CACHE STRING "Python Version (major and minor only)")
MARK_AS_ADVANCED(PYTHON_VERSION)
diff --git a/source/blender/python/intern/bpy_util.h b/source/blender/python/intern/bpy_util.h
index 63cb7920bd1..6000bf94aef 100644
--- a/source/blender/python/intern/bpy_util.h
+++ b/source/blender/python/intern/bpy_util.h
@@ -27,8 +27,8 @@
#ifndef __BPY_UTIL_H__
#define __BPY_UTIL_H__
-#if PY_VERSION_HEX < 0x03050000
-# error "Python 3.5 or greater is required, you'll need to update your python."
+#if PY_VERSION_HEX < 0x03060000
+# error "Python 3.6 or greater is required, you'll need to update your python."
#endif
struct EnumPropertyItem;
More information about the Bf-blender-cvs
mailing list