mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Increase required Python version to 3.7
This version of Python supports the packaging module.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user