Splunk IT Service Intelligence (SA-ITOA) version 4.21.2 running on Splunk 10.1 generates repeated deprecation warnings related to the Python pkg_resources package. The warnings indicate that pkg_resources is deprecated and slated for removal as early as November 30, 2025. Despite it's passed, these warnings persist in splunkd.log under ExecProcessor, originating from scripts such as itsi_content_pack_authorship.py, itsi_migration_queue.py, and itsi_backup_restore.py. The warnings include:
ERROR ExecProcessor - message from "/opt/splunk/bin/python3.9 /opt/splunk/etc/apps/SA-ITOA/bin/itsi_content_pack_authorship.py"
import pkg_resources/opt/splunk/lib/python3.9/site-packages/cherrypy/__init__.py:60:
UserWarning: pkg_resources is deprecated as an API.
The pkg_resources package is slated for removal as early as 2025-11-30.
Refrain from using this package or pin to Setuptools<81.
No functional failures have been observed, and scripts continue to execute successfully. However, the error-level log entries create noise in monitoring and raise concerns about forward compatibility.
splunk/etc/apps/SA-ITOA/lib/SA_ITOA_app_common/scp_download_simple_crypto-unknown.dist-infoWorkaround
cd /opt/splunk/etc/apps/SA-ITOA/lib/SA_ITOA_app_common
rm -rf scp_download_simple_crypto-unknown.dist-info
Permanent Fix :
The fix is planned for ITSI version 5.0.4, tentatively scheduled for early FY27.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |