File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -916,6 +916,10 @@ endif()
916
916
# Python build dependency
917
917
918
918
find_package (PythonLibrary REQUIRED )
919
+ set (MIN_PYTHON_VERSION "3.5" )
920
+ if (${PYTHON_SHORT_VERSION} VERSION_LESS ${MIN_PYTHON_VERSION} )
921
+ message (FATAL_ERROR "Python version ${PYTHON_SHORT_VERSION} is too old. Minimum Python version is ${MIN_PYTHON_VERSION} ." )
922
+ endif ()
919
923
920
924
set (MIN_PYTHON_VERSION "3.6" )
921
925
if (${PYTHON_SHORT_VERSION} VERSION_LESS ${MIN_PYTHON_VERSION} )
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Optional dependencies:
118
118
* for georeferencer - GSL >= 1.8
119
119
* for PostGIS support - PostgreSQL >= 8.0.x
120
120
* for gps plugin - gpsbabel
121
- * for mapserver export and PyQGIS - Python >= 3.3
121
+ * for mapserver export and PyQGIS - Python >= 3.5
122
122
* for python support - SIP >= 4.12, PyQt >= 5.3 must match Qt version, Qscintilla2
123
123
* for qgis mapserver - FastCGI
124
124
* for oracle provider - Oracle OCI library
You can’t perform that action at this time.
0 commit comments