The Splunk SDK currently has a requirement for deprecation. However, the Python version that is bundled with Splunk Enterprise does not contain deprecation and does not contain packaging, which is a dependency of deprecation.
It is common to use the Splunk SDK for developing Splunk apps (see https://dev.splunk.com/enterprise/docs/developapps/#Splunk-tools). When using version 2.x of the Splunk SDK in apps, those apps will not function correctly because of the missing dependency. It cannot be safely assumed that Splunk enterprise administrators would manually install those dependencies. I would argue that the Splunk SDK should not contain any dependencies that are not satisfied with the Python version that is bundled with Splunk.
@Ickerday why does this get marked as stale when no splunk dev ever worked on this? while the duplicate which is similarly unattended remains open?
the issue still persists and would be trivial to fix. the deprecation library is used a single time in the sdk for documentation purposes which could go into the associated function's docstring just as well and the dependency removed altogether.
@hRun I disagree. We have added deprecation as a dependency in #570. This docs article describes how to package dependencies with an app. This would also mean any dependencies for splunklib.
As for the removing the deprecation library, I've added the association with #600, will take a look and get back to you. Cheers!
Activity
Ickerday commented on Sep 8, 2025
Dismissing as stale. Please tell us if the issue persists!
TwilightMercy commented on Sep 8, 2025
No response to that issue?
hRun commented on Sep 9, 2025
@Ickerday why does this get marked as stale when no splunk dev ever worked on this? while the duplicate which is similarly unattended remains open?
the issue still persists and would be trivial to fix. the deprecation library is used a single time in the sdk for documentation purposes which could go into the associated function's docstring just as well and the dependency removed altogether.
Ickerday commented on Sep 9, 2025
@hRun I disagree. We have added deprecation as a dependency in #570.
This docs article describes how to package dependencies with an app. This would also mean any dependencies for splunklib.
As for the removing the deprecation library, I've added the association with #600, will take a look and get back to you. Cheers!
gjanders commented on May 8, 2026
While pull request #670 appears to have merged into development, I cannot see any 2.1.2 or fixed version.
Will 2.1.2 be released anytime soon? Since I cannot re-open this issue I will open a new one referencing this one.