fix: Use python3 instead of hardcoded python3.10 64/73864/1
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 6 Nov 2025 22:39:23 +0000 (08:39 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 6 Nov 2025 23:34:22 +0000 (09:34 +1000)
commit55823b5fca279beb1eb7ee8b8dea8c2ccec67e50
tree1c090c79d01ca5ada84700e99cfb13bf8681be72
parent040655a01331344500ebf0c5300985da0e60e54e
fix: Use python3 instead of hardcoded python3.10

Replace hardcoded python3.10 with python3 to support systems
that don't have Python 3.10 installed (e.g., Ubuntu 24.04 which
ships with Python 3.12).

This change maintains backward compatibility while enabling
builds on newer systems. Ansible 9.2.0 supports Python 3.8+,
so any python3 version will work.

Fixes: ansible-galaxy.sh failing on Ubuntu 24.04
Related: Python version fallback in global-jjb lf-env.sh

Change-Id: Ib18cf879a498a1504ff9dd25fb620ca18a0e0ed1
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
ansible-galaxy.sh
releasenotes/notes/ubuntu-24-04-python-support-549cc5f28b6aa26c.yaml [new file with mode: 0644]