Skip to content

Does not run under Python 3.14 #87

Description

@iandersonrcan

Tested successfully under Python 3.12 and 3.13. Under python 3.14 with an existing config.ini, returns the following traceback
Traceback (most recent call last):
File "C:\Users\ianderso\bin\eodms-cli\eodms_prompt.py", line 2319, in
cli()
~~~^^
File "C:\Users\ianderso\AppData\Roaming\Python\Python314\site-packages\click\core.py", line 1569, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\ianderso\AppData\Roaming\Python\Python314\site-packages\click\core.py", line 1490, in main
rv = self.invoke(ctx)
File "C:\Users\ianderso\AppData\Roaming\Python\Python314\site-packages\click\core.py", line 1353, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianderso\AppData\Roaming\Python\Python314\site-packages\click\core.py", line 907, in invoke
return callback(*args, **kwargs)
File "C:\Users\ianderso\bin\eodms-cli\eodms_prompt.py", line 2175, in cli
conf_util.import_config()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\ianderso\bin\eodms-cli\scripts\config_util.py", line 419, in import_config
self.write()
~~~~~~~~~~^^
File "C:\Users\ianderso\bin\eodms-cli\scripts\config_util.py", line 386, in write
self.config_info.write(cfgfile, space_around_delimiters=True)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianderso\AppData\Local\Python\pythoncore-3.14-64\Lib\configparser.py", line 983, in write
self._write_section(fp, section,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
self._sections[section].items(), d)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ianderso\AppData\Local\Python\pythoncore-3.14-64\Lib\configparser.py", line 991, in _write_section
self._validate_key_contents(key)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
File "C:\Users\ianderso\AppData\Local\Python\pythoncore-3.14-64\Lib\configparser.py", line 1235, in _validate_key_contents
raise InvalidWriteError(
f"Cannot write key {key}; contains delimiter {delim}")
configparser.InvalidWriteError: Cannot write key # the minimum date the csv result files will be kept; all files prior to this date will be deleted (format = yyyy-mm-dd); contains delimiter =

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions