I noticed because trakt-scrobbler stopped working Reproducible: Always Steps to Reproduce: 1. Try to use the library (for example with trakts run) Actual Results: ModuleNotFoundError Expected Results: No error
Please share the full output - nothing should really be using this for >= Python 3.9.
$ trakts run -v Stack trace: 11 /usr/lib/python3.11/site-packages/clikit/console_application.py:131 in run status_code = command.handle(parsed_args, io) 10 /usr/lib/python3.11/site-packages/clikit/api/command/command.py:120 in handle status_code = self._do_handle(args, io) 9 /usr/lib/python3.11/site-packages/clikit/api/command/command.py:171 in _do_handle return getattr(handler, handler_method)(args, io, self) 8 /usr/lib/python3.11/site-packages/cleo/commands/command.py:92 in wrap_handle return self.handle() 7 /usr/lib/python3.11/site-packages/trakt_scrobbler/commands/run.py:12 in handle from trakt_scrobbler.main import main 6 /usr/lib/python3.11/site-packages/trakt_scrobbler/main.py:4 in <module> from trakt_scrobbler.backlog_cleaner import BacklogCleaner 5 /usr/lib/python3.11/site-packages/trakt_scrobbler/backlog_cleaner.py:7 in <module> from trakt_scrobbler import trakt_interface as trakt 4 /usr/lib/python3.11/site-packages/trakt_scrobbler/trakt_interface.py:5 in <module> from trakt_scrobbler.notifier import notify 3 /usr/lib/python3.11/site-packages/trakt_scrobbler/notifier.py:76 in <module> from desktop_notifier.main import Button, DesktopNotifier 2 /usr/lib/python3.11/site-packages/desktop_notifier/__init__.py:2 in <module> from .main import DesktopNotifier, Button, ReplyField, Notification, Urgency 1 /usr/lib/python3.11/site-packages/desktop_notifier/main.py:29 in <module> from .base import ( ModuleNotFoundError No module named 'importlib_resources' at /usr/lib/python3.11/site-packages/desktop_notifier/base.py:22 in <module> 18│ List, 19│ Sequence, 20│ ) 21│ → 22│ from importlib_resources import path as resource_path 23│ 24│ 25│ logger = logging.getLogger(__name__) 26│
Bad upstream unconditionally depending on a backport :(
Upstream issue: https://github.com/samschott/desktop-notifier/issues/92
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1862a77db17eef7cd95623805ffbe4873a231917 commit 1862a77db17eef7cd95623805ffbe4873a231917 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2023-07-11 05:04:19 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2023-07-11 05:04:19 +0000 dev-python/desktop-notifier: add 3.5.5 Closes: https://bugs.gentoo.org/910185 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> dev-python/desktop-notifier/Manifest | 1 + .../desktop-notifier/desktop-notifier-3.5.5.ebuild | 32 ++++++++++++++++++++++ ...esktop-notifier-3.5.5-importlib-resources.patch | 15 ++++++++++ 3 files changed, 48 insertions(+)