Commit 9b4bf0af authored by Jean Felder's avatar Jean Felder Committed by Jean Felder
Browse files

meson: Music needs at least python 3.7

Post 3.38, Music is starting to use type checking. It relies on
Postponed Evaluation of Annotations (PEP 563) which has been released
in Python 3.7.

Closes: #451
parent 3670a158
Pipeline #273608 passed with stages
in 8 minutes and 9 seconds
......@@ -16,6 +16,11 @@ if not py_installation.found()
error('No valid python3 binary found')
endif
# Python 3.7 is needed for postponed evalution of annotations
if not py_installation.language_version().version_compare('>= 3.7')
error('Python 3.7 or newer is required.')
endif
# Constants
PACKAGE_URL = 'https://wiki.gnome.org/Apps/Music'
PACKAGE_URL_BUG = 'https://gitlab.gnome.org/GNOME/gnome-music/issues'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment