Skip to content

SETroubleshoot SafeConfigParser Depreciation Fix #123

Open

Description

@jjbyrnes29

In setroubleshoot-3.3.23, lines 41 to 44 of config.py.in contain the lines:

try:
 from configparser import SafeConfigParser
except ImportError:
 from configparser import SafeConfigParser

SafeConfigParser has been depreciated in Python 3.12 as per
python/cpython#92503

In testing, I was able to get the package to be built by editing SafeConfigParser to ConfigParser

System Information:

Arch 6.8.9-hardened1-2 (with SELinux enabled via base-selinux)
Python 3.12.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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