From: Kaleb S. KEITHLEY Date: Fri, 3 Jan 2020 13:34:37 +0000 (-0500) Subject: do_cmake.sh: fedora-32 (rawhide) build with python-3.8 X-Git-Tag: v15.1.0~338^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5c80bb8f78360067e6263701cfc99f74525c9137;p=ceph-ci.git do_cmake.sh: fedora-32 (rawhide) build with python-3.8 Fedora-32 now has python-3.8. Fedora-29 is EOL. All non-EOL versions of Fedora have python-3.7, except Fedora-32 (Unclear to me why PYBUILD="3" isn't used, like Ubuntu and FreeBSD. That would eliminate breakage when pyhon versions change in Rawhide.) Signed-off-by: Kaleb S. KEITHLEY --- diff --git a/do_cmake.sh b/do_cmake.sh index 12ab5377f87..182b7b1a9fb 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -16,8 +16,9 @@ if [ -r /etc/os-release ]; then source /etc/os-release case "$ID" in fedora) - if [ "$VERSION_ID" -ge "29" ] ; then - PYBUILD="3.7" + PYBUILD="3.7" + if [ "$VERSION_ID" -ge "32" ] ; then + PYBUILD="3.8" fi ;; rhel|centos)