You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please, could you try to change in the file offlineimap/CustomConfig.py the word (Class) "SafeConfigParser" with the word (Class) "ConfigParser"? This string is three times in the file. See the diff code below.
The reason seems that SafeConfigParser was renamed to ConfigParser in Python 3.2, and the SafeConfigParser name was kept for backward compatibility until Python 3.11. So we can use ConfigParser instead of SafeConfigParser.
If you try it and it works fine, I will create a new pull-request. Also, you can create it if you want.
Best regards,
kix
kix:~/src/offlineimap3/offlineimap$ diff CustomConfig.py-new CustomConfig.py
20c20
< from configparser import ConfigParser, Error
---
> from configparser import SafeConfigParser, Error
24c24
< class CustomConfigParser(ConfigParser):
---
> class CustomConfigParser(SafeConfigParser):
26c26
< ConfigParser.__init__(self)
---
> SafeConfigParser.__init__(self)
kix:~/src/offlineimap3/offlineimap$
I am trying to build 8.0.0 against py3.12, but ran into some build failure
relates to Homebrew/homebrew-core#151139
The text was updated successfully, but these errors were encountered: