From bfa87fa6a499bff7f3587ed38d70247071b1a23e Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Sun, 7 Jun 2026 20:13:34 +0300 Subject: [PATCH] python-incremental: add test-version.sh generic version-check override The incremental CLI requires an "update" subcommand and prints a usage error instead of a version for the flags the generic check probes, so it fails generic tests (e.g. when python3 is bumped). Override it; test.sh still covers functionality. Signed-off-by: Alexandru Ardelean (cherry picked from commit 8338b02877d045c3e4a9a8bd800a9ba6008f3b4d) Signed-off-by: Josef Schlehofer --- lang/python/python-incremental/test-version.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 lang/python/python-incremental/test-version.sh diff --git a/lang/python/python-incremental/test-version.sh b/lang/python/python-incremental/test-version.sh new file mode 100755 index 0000000000..c0a09458c8 --- /dev/null +++ b/lang/python/python-incremental/test-version.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# shellcheck shell=busybox + +case "$PKG_NAME" in +python3-incremental | python3-incremental-src) + exit 0 + ;; +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac