Hello,
I've noticed that versioneer.py uses configparser.SafeConfigParser(), which is no longer available for Python>=3.12.
Perhaps a potential fix could be to use configparser.RawConfigParser() (or configparser.ConfigParser(), depending on the desired behavior) instead?
Thanks for your attention to this matter!