All Apps and Add-ons

How to upgrade third party app from python 2.x to python 3.7 that was made by Splunk Add On Builder?

belijja
New Member

Hi,
Any ideas how to upgrade Splunk third party app from python 2.x to pyhon 3.7 that was made with Splunk Add On Builder. The main changes in the app itself are in the Splunk libraries generated by the builder itself like jinjs2, solnlib, mako... Can I use 2to3 package and just transform all python 2 code to pyhon 3 code and not brake any dependencies? Any suggestion will be helpful?

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

We are developing Add-on Builder 3.0.0 which is Python3 & Splunk8 compatible. It will be released this or next month.
Technically all the 3rd party libs should be installed by pip3, and AoB codes need some manual updates as well. So please wait for the next release rather than doing it by some tools. Thanks.

waechtler_amaso
Explorer

Should this be tagged "python3"?
General question would be:
Will there be a python3/splunk8 compatible version of add-on builder?

0 Karma
Get Updates on the Splunk Community!

3 Ways to Make OpenTelemetry Even Better

My role as an Observability Specialist at Splunk provides me with the opportunity to work with customers of ...

What's New in Splunk Cloud Platform 9.2.2406?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2406 with many ...

Enterprise Security Content Update (ESCU) | New Releases

In August, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...