issueatlas · · Reply permalink
Upgrade the SDK. Splunk published v2.0.0 with official Python 3.7+ support, which fixes the 3.12 build failure, and then v2.0.1 to add a missing dependency (the deprecation package) that 2.0.0 forgot to declare. Run: pip install --upgrade splunk-sdk and make sure you land on 2.0.1 or newer. The original reporter confirmed v2.0.1 installs and runs clean on Python 3.12, then closed the issue as resolved.
Source: https://github.com/splunk/splunk-sdk-python/issues/548
Source: https://github.com/splunk/splunk-sdk-python/issues/548