Update Python version in apps

update from deprecated to supported Python version for Splunk SOAR apps

Check that your apps are using the latest Python version supported by Splunk SOAR to ensure full compatibility with Splunk SOAR.

To check for custom functions that require an update, follow these steps:

  1. From the Home menu, select Apps.

  2. At the top of the list, select Python update required. Apps requiring a Python update display in the table.

  3. For an app in the list, select the Edit icon in the table row.

  4. In the App details panel, select Basic Info. Change to the most recent version of Python. Select Confirm, then follow the prompt to save the app and validate the Python.
    Note: After you change the Python version, you cannot return to a deprecated or unsupported Python version. Make a copy of your app before updating its Python version, so you can refer to the original code, if needed.
  5. The Python validation process starts automatically.

    • If your code validates successfully, your app updates to the latest Python version supported by Splunk SOAR. Save your app. Repeat these steps for additional apps.

    • If your code does not validate successfully, the validation process produces notes, warnings, and errors appear, directing you to potential issues with updating to the most recent, version of Python supported in Splunk SOAR. Hover over each message to learn more and then address the messages.

  6. Hover over each message to learn more and then address each of the messages.

  7. Repeat the previous steps, starting with changing the Python version in Step 3. Continue until the version change works and you save the app.

  8. Repeat these steps for each app that requires a Python update.

When adding support for Python 3.13 in your apps, specify dependencies under pip313_dependencies. For details on installing and working with custom Python Packages, refer to Manage automation dependencies in Splunk SOAR in the Administer Splunk SOAR documentation.

For more information on Python in Splunk SOAR, see How SOAR (On-premises) uses Python.