From 9d4e642b8f9b8ac66384d285a7134ad66705ff40 Mon Sep 17 00:00:00 2001 From: Patryk Bujna Date: Mon, 20 Jul 2026 14:49:26 +0200 Subject: [PATCH 1/2] Declare python.required for Splunk 10.2+ (AppInspect future_failures) AppInspect flags commands.conf/restmap.conf as future_failures because python.version is deprecated in Splunk 10.2+. Add python.required = 3.9 alongside the existing python.version = python3 (kept for 9.2-10.1, which don't read python.required). Clears check_commands_conf_python_required and check_script_restmap_conf_python_required; enables declaring 10.2-10.5 compat. --- apius_lang_entropy/default/commands.conf | 1 + apius_lang_entropy/default/restmap.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/apius_lang_entropy/default/commands.conf b/apius_lang_entropy/default/commands.conf index c08aa5a..b89397f 100644 --- a/apius_lang_entropy/default/commands.conf +++ b/apius_lang_entropy/default/commands.conf @@ -2,3 +2,4 @@ filename = entropy_command.py chunked = true python.version = python3 +python.required = 3.9 diff --git a/apius_lang_entropy/default/restmap.conf b/apius_lang_entropy/default/restmap.conf index bc5b2ce..117deaf 100644 --- a/apius_lang_entropy/default/restmap.conf +++ b/apius_lang_entropy/default/restmap.conf @@ -8,6 +8,7 @@ output_modes = json passPayload = true passHttpHeaders = true python.version = python3 +python.required = 3.9 [script:entropy_lab] match = /entropy_lab @@ -19,3 +20,4 @@ output_modes = json passPayload = true passHttpHeaders = true python.version = python3 +python.required = 3.9 From c73d43b8de366d4a3c04c674549edf1ba5b2e743 Mon Sep 17 00:00:00 2001 From: Patryk Bujna Date: Mon, 20 Jul 2026 14:52:10 +0200 Subject: [PATCH 2/2] Declare 9.2-10.5 Splunk compatibility in the release caller The reusable release workflow's splunk_versions default (9.0,9.1,9.2,9.3,9.4) is wrong for this app: it includes unsupported 9.0/9.1 (Python 3.7) and omits 10.x. Pass the correct list (9.2-10.5) so the automated Splunkbase upload declares accurate compatibility. 10.2-10.5 are valid given the python.required addition in this PR. --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 554cac3..5e3c2df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,10 @@ jobs: with: app_id: apius_lang_entropy version: ${{ needs.version.outputs.version }} + # Splunk versions this app supports (declared on the Splunkbase release). + # Floor is 9.2 — the app uses statistics.fmean/quantiles (Python 3.8+), + # and 9.0/9.1 ship Python 3.7. 10.2+ is enabled by python.required. + splunk_versions: "9.2,9.3,9.4,10.0,10.1,10.2,10.3,10.4,10.5" # Splunkbase listing id (repo variable). Empty -> Splunkbase publish is # skipped by the reusable workflow; the manual approval gate lives in the # `splunkbase` Environment.