We get these annoying extra warnings when sudorelaunch fails and needs to display the error: > <frozen importlib._bootstrap>:671: ImportWarning: DynamicImporter.exec_module() not found; falling back to load_module() Fortunately, these warnings are only shown in development builds. But it's still annoying for our developers, and it makes it difficult to evaluate the actual end user experience.
Fixed upstream apparently: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/174 Doesn't seem to have made it in to any released version, though. And won't likely get back ported. So a workaround would still be interesting from our side.
It seems this warning is fairly recent, though, so perhaps this might be a short-lived issue after all. Seems like only 3.10+ will complain.
Warnings are now gone!
I've reproduced the issue on a development build of r38431 (the revision before the fix) and reproduced the issue. However, they do not show up after the fix. Also had a look at the changes and things look fine! Marking as closed!