Skip to content

not support Python 3.12 Β #109

@laciel-chin

Description

@laciel-chin

Issue details

  • Python version used
    Python 3.12.2 (tags/v3.12.2:6abddd9, Feb 6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32

  • HDL Checker log output
    File "....\versioneer.py", line 412, in get_config_from_root
    parser = configparser.SafeConfigParser()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?

  • reason

Several names deprecated in the configparser way back in 3.2 have been removed per python/cpython#89336:

configparser.ParsingError no longer has a filename attribute or argument. Use the source attribute and argument instead.

configparser no longer has a SafeConfigParser class. Use the shorter ConfigParser name instead.

configparser.ConfigParser no longer has a readfp method. Use read_file() instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions