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!

Monitoring Amazon Elastic Kubernetes Service (EKS)

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

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...

Explore the Latest Educational Offerings from Splunk (November Releases)

At Splunk Education, we are committed to providing a robust learning experience for all users, regardless of ...