From 9c258ce7d4e2166c983ce4674c1b560bfa4568d4 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 23 May 2024 15:46:46 -0600 Subject: [PATCH] bootstrap: Default to py3.12 on CentOS & Fedora Fixes: https://tracker.ceph.com/issues/66178 Signed-off-by: Zack Cerza --- bootstrap | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index cc5e1e7a9..ebda92502 100755 --- a/bootstrap +++ b/bootstrap @@ -80,7 +80,8 @@ Linux) fi ;; CentOSStream) - deps=(python3-pip python3-devel) + PYTHON=python3.12 + deps=($PYTHON-pip $PYTHON-devel) for package in ${deps[@]}; do if ! rpm -q --whatprovides $package ; then missing="${missing:+$missing }$package" @@ -100,7 +101,9 @@ Linux) fi ;; Fedora) - deps=(python3-pip python3-devel libev-devel libvirt-devel libffi-devel) + PYTHON=python3.12 + deps=($PYTHON-pip $PYTHON-devel) + deps=($PYTHON-pip $PYTHON-devel libev-devel libvirt-devel libffi-devel) for package in ${deps[@]}; do if ! rpm -q --whatprovides $package; then missing="${missing:+$missing }$package"