gnome-authenticator should depend on py3-setuptools
I'm running on postmarketos edge on phosh and testing gnome-authenticator-3.32.2-r9. When I run "authenticator" from the command line I get this error:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/Authenticator/application.py", line 208, in _is_locked_changed
Window.get_default().refresh_view()
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/window.py", line 69, in get_default
Window.instance = Window()
File "/usr/lib/python3.9/site-packages/Authenticator/widgets/window.py", line 61, in __init__
AccountsManager.get_default()
File "/usr/lib/python3.9/site-packages/Authenticator/models/accounts_manager.py", line 55, in get_default
AccountsManager.instance = AccountsManager()
File "/usr/lib/python3.9/site-packages/Authenticator/models/accounts_manager.py", line 46, in __init__
self.__fill_accounts()
File "/usr/lib/python3.9/site-packages/Authenticator/models/accounts_manager.py", line 134, in __fill_accounts
providers = Database.get_default().get_providers(only_used=True)
File "/usr/lib/python3.9/site-packages/Authenticator/models/database.py", line 52, in get_default
Database.instance = Database()
File "/usr/lib/python3.9/site-packages/Authenticator/models/database.py", line 45, in __init__
self.__apply_migrations()
File "/usr/lib/python3.9/site-packages/Authenticator/models/database.py", line 278, in __apply_migrations
from yoyo import read_migrations
File "/usr/lib/python3.9/site-packages/yoyo/__init__.py", line 15, in <module>
from yoyo.migrations import (read_migrations, # noqa
File "/usr/lib/python3.9/site-packages/yoyo/migrations.py", line 27, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources
Installing py3-setuptools allows the application to start up as expected.
Edited by Adam Plumb