Sebastien Marie <sema...@kapouay.eu.org> writes: > Hi, > > With the switch to python-3.11 by default, mail/offlineimap stopped > working due to some (wrong) assertion: > > AssertionError: Your sqlite is not multithreading safe. > > The `sqlite3.threadsafety` changed in python-3.11, the value is set > dynamically instead of hard-coding it to 1, and offlineimap is checking > for `1`. > > > The current version of mail/offlineimap is the latest published release > (8.0.0 from Oct 18, 2021), but the repository is somehow active (last > commit is 5 months ago) and has proper python-3.11 support. > > The following diff updates mail/offlineimap to the latest commit in > HEAD. I am using the date of the commit for the patchlevel suffix. > > With it, I could use offlineimap again. > > Comments or OK ? > -- > Sebastien Marie >
This patch also worked for me. And thanks.