Bump Minimum Python version to 3.6

This commit is contained in:
Matthias Kuhn 2021-01-10 10:26:32 +01:00 committed by Nyall Dawson
parent d931c4ce98
commit 0b2c951e65
2 changed files with 3 additions and 3 deletions

View File

@ -916,7 +916,7 @@ endif()
# Python build dependency
find_package(PythonLibrary REQUIRED)
set(MIN_PYTHON_VERSION "3.5")
set(MIN_PYTHON_VERSION "3.6")
if(${PYTHON_SHORT_VERSION} VERSION_LESS ${MIN_PYTHON_VERSION})
message(FATAL_ERROR "Python version ${PYTHON_SHORT_VERSION} is too old. Minimum Python version is ${MIN_PYTHON_VERSION}.")
endif()

View File

@ -94,7 +94,7 @@ Required build tools:
* CMake >= 3.10.0
* Flex >= 2.5.6
* Bison >= 2.4
* Python >= 3.5
* Python >= 3.6
Required build dependencies:
@ -118,7 +118,7 @@ Optional dependencies:
* for georeferencer - GSL >= 1.8
* for PostGIS support - PostgreSQL >= 8.0.x
* for gps plugin - gpsbabel
* for mapserver export and PyQGIS - Python >= 3.5
* for mapserver export and PyQGIS - Python >= 3.6
* for python support - SIP >= 4.12, PyQt >= 5.3 must match Qt version, Qscintilla2
* for qgis mapserver - FastCGI
* for oracle provider - Oracle OCI library