Skip to content

Commit

Permalink
use python 3.13 on fedora 41 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
richm committed Dec 3, 2024
1 parent 86405da commit 16d1c84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ lsrLabBosRepoWorkaround() {

lsrInstallAnsible() {
# Hardcode to the only supported version on later ELs
if rlIsRHELLike 8 && [ "$ANSIBLE_VER" == "2.9" ]; then
if rlIsFedora '>=41'; then
PYTHON_VERSION=3.13
elif rlIsRHELLike 8 && [ "$ANSIBLE_VER" == "2.9" ]; then
PYTHON_VERSION=3.9
elif rlIsRHELLike 8 && [ "$ANSIBLE_VER" != "2.9" ]; then
# CentOS-8 supports either 2.9 or 2.16
Expand Down

0 comments on commit 16d1c84

Please sign in to comment.