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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...