Skip to content

Commit

Permalink
Merge pull request ceph#54566 from badone/wip-python-version-fedora-39
Browse files Browse the repository at this point in the history
do_cmake.sh: set python version for Fedora 39

Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
badone authored Nov 21, 2023
2 parents eb4b542 + 838489f commit e877333
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,11 @@ if [ -r /etc/os-release ]; then
source /etc/os-release
case "$ID" in
fedora)
if [ "$VERSION_ID" -ge "37" ] ; then
PYBUILD="3.11"
elif [ "$VERSION_ID" -ge "35" ] ; then
PYBUILD="3.10"
elif [ "$VERSION_ID" -ge "33" ] ; then
PYBUILD="3.9"
elif [ "$VERSION_ID" -ge "32" ] ; then
PYBUILD="3.8"
if [ "$VERSION_ID" -ge "39" ] ; then
PYBUILD="3.12"
else
PYBUILD="3.7"
# Fedora 37 and above
PYBUILD="3.11"
fi
;;
rocky|rhel|centos)
Expand Down

0 comments on commit e877333

Please sign in to comment.