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!

Index This | How many sides does a circle have?

  March 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...