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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...