Merge branch 'python-version' into 'master'

build: Bump Python requirement to ≥ 3.5

See merge request GNOME/glib!1132
This commit is contained in:
Sebastian Dröge 2019-09-30 11:05:15 +00:00
commit 61509eab26

View File

@ -1994,7 +1994,7 @@ python = import('python').find_installation('python3')
python_name = 'python3'
python_version = python.language_version()
python_version_req = '>=3.4'
python_version_req = '>=3.5'
if not python_version.version_compare(python_version_req)
error('Requires Python @0@, @1@ found.'.format(python_version_req, python_version))
endif