Skip to content

Commit

Permalink
Bump Minimum Python version to 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and nyalldawson committed Jan 19, 2021
1 parent d931c4c commit 0b2c951
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.md
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 0b2c951

Please sign in to comment.