simonsobs / sotodlib

Simons Observatory: Time-Ordered Data processing library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`configparser` changes break `versioneer.py`

skhrg opened this issue · comments

When installing sotodlib on my local machine the install fails with: AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

Error comes from line 342 in versioneer.py, looks like that some stuff in configparser has been renamed/removed (see https://docs.python.org/3/whatsnew/3.12.html#configparser). Don't think we are officially on 3.12 as a collaboration yet, but seems like these functions and classis have been depreciated for some time now (since 3.2?) so we might as well update the configparser usage.