gnome-music-40.0 fails to start with future annotations error
gnome-music-40.0 fails to start with:
$ gnome-music
Traceback (most recent call last):
File "/usr/local/bin/gnome-music", line 132, in <module>
sys.exit(main())
File "/usr/local/bin/gnome-music", line 127, in main
return run_application()
File "/usr/local/bin/gnome-music", line 113, in run_application
from gnomemusic.application import Application
File "/usr/local/lib/python3.6/site-packages/gnomemusic/application.py", line 37, in <module>
from gnomemusic.coregrilo import CoreGrilo
File "/usr/local/lib/python3.6/site-packages/gnomemusic/coregrilo.py", line 31, in <module>
from gnomemusic.grilowrappers.grlsearchwrapper import GrlSearchWrapper
File "/usr/local/lib/python3.6/site-packages/gnomemusic/grilowrappers/grlsearchwrapper.py", line 29, in <module>
from gnomemusic.coresong import CoreSong
File "/usr/local/lib/python3.6/site-packages/gnomemusic/coresong.py", line 25
from __future__ import annotations
SyntaxError: future feature annotations is not defined
I believe this might be because future feature annotations was added in python3.7 (is so maybe the meson configuration should check for this).
I installed the pypi backport future-annotations, but the error remains.
Is there a way around this without resorting to python3.7?