diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 4f967c79..23a1f423 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -76,6 +76,8 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" + - "3.13" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/solnlib/splunkenv.py b/solnlib/splunkenv.py index 20484072..0f29cbce 100644 --- a/solnlib/splunkenv.py +++ b/solnlib/splunkenv.py @@ -309,7 +309,7 @@ def get_conf_stanzas(conf_name: str) -> dict: parser = ConfigParser(**{"strict": False}) parser.optionxform = str - parser.readfp(StringIO(out)) + parser.read_file(StringIO(out)) out = {} for section in parser.sections():