mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
Increase required Python version to 3.7
This version of Python supports the packaging module.
This commit is contained in:
parent
438f59b071
commit
9cd7cccdd3
@ -2381,7 +2381,7 @@ python = import('python').find_installation()
|
||||
python_name = 'python3'
|
||||
|
||||
python_version = python.language_version()
|
||||
python_version_req = '>=3.5'
|
||||
python_version_req = '>=3.7'
|
||||
if not python_version.version_compare(python_version_req)
|
||||
error('Requires Python @0@, @1@ found.'.format(python_version_req, python_version))
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user