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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...