Mailnag is no longer working

Since the python update to 3.12, mailnag is no longer working on my system. I am not on wayland.

$ mailnag-config
Traceback (most recent call last):
  File "/usr/bin/mailnag-config", line 36, in <module>
    from Mailnag.configuration.configwindow import ConfigWindow
  File "/usr/lib/python3.12/site-packages/Mailnag/configuration/", line 33, in <module>
    from Mailnag.common.plugins import Plugin
  File "/usr/lib/python3.12/site-packages/Mailnag/common/", line 20, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

It does not support Python 3.12: ModuleNotFoundError: No module named 'imp' · Issue #244 · pulb/mailnag · GitHub

Ok, so how do i revert to python 3.11 ?

You probably shouldn’t go that road.

I would wait for the developers to catch up with these outdated modules. There is already a PR Python 3.12 and assorted fixes by bryango · Pull Request #232 · pulb/mailnag · GitHub which will solve this.

Ok, thanks, but going to the link you provide, i don’t know what to do.

You don’t.


The Arch Package Maintainer is aware: