-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Apparently SafeConfigParser
in the configparser
module was renamed to ConfigParser
in Python 3.2, with the SafeConfigParser
alias being deprecated. In Python 3.12 SafeConfigParser
was removed completely:
Traceback (most recent call last):
File "/app/get_columns_for_import.py", line 338, in <module>
entity_type = get_entity_data(args.entity_type, args.entity_set_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/get_columns_for_import.py", line 25, in get_entity_data
tables_list=list(table.list_tables())
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/localvenv/lib/python3.12/site-packages/terra_notebook_utils/table.py", line 205, in list_tables
resp = fiss().list_entity_types(workspace_namespace, workspace)
^^^^^^
File "/localvenv/lib/python3.12/site-packages/terra_notebook_utils/table.py", line 38, in fiss
from firecloud import fiss
File "/localvenv/lib/python3.12/site-packages/firecloud/fiss.py", line 31, in <module>
fcconfig = fccore.config_parse()
^^^^^^^^^^^^^^^^^^^^^
File "/localvenv/lib/python3.12/site-packages/firecloud/fccore.py", line 137, in config_parse
cfgparser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
Metadata
Metadata
Assignees
Labels
No labels