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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...