[v2,02/11] CI: Freeze setuptools package version for avocado compatibility

Message ID 20260629094624.855927-3-amikan@ilbers.de
State New
Headers show
Series Add new targets and required fixes | expand

Commit Message

Anton Mikanovich June 29, 2026, 9:46 a.m. UTC
Avocado with currently the latest LTS version we use (103.0) is not
compatible with python3-setuptools package > 81.0.0 already available
in some distros.
Fix it by forcing installation of the latest compatible setuptools
package version in CI environment.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 scripts/ci_build.sh | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 690dadd4..241ff8c8 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -22,6 +22,7 @@  if ! command -v avocado > /dev/null; then
     virtualenv --python python3 /tmp/avocado_venv
     # shellcheck source=/dev/null
     source /tmp/avocado_venv/bin/activate
+    pip install setuptools==81.0.0
     pip install avocado-framework==103.0
     pip install avocado-framework-plugin-varianter-yaml-to-mux==103.0
 fi