Other Usage

Support python 3.11 and python 3.9 together on splunk app

abatra
New Member

Hi Guys, 

I want to provide support for Python 3.11 and Python 3.9 for my splunk app on Splunk Enterprise and Splunk Cloud.

I don't want to publish multiple version of same app packaged with py3.9 compatible libraries and other with py3.11 compatible libraries. 

I can include my dependencies in two folders lib3.7 and lib3.11.
And then while installation, Is there any way I can check the python version available, and then set which lib folder to use for app ?

Has anyone done something similar before ? Will this be achievable ?

Regards
Anmol Batra

0 Karma

PickleRick
SplunkTrust
SplunkTrust

App "installation" is just unpacking a tgz archive into etc/apps. So it looks like something you should handle runtime.

0 Karma
Get Updates on the Splunk Community!

Bridging the Gap: Splunk Helps Students Move from Classroom to Career

The Splunk Community is a powerful network of users, educators, and organizations working together to tackle ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...