From: Thomas Goirand Date: Thu, 27 May 2021 10:04:21 +0000 (+0100) Subject: Make Ceph Python 3.9 aware X-Git-Tag: archive/raspbian/14.2.21-1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1dcee9f02da7b4bf5f75dd6cddd2dcf7a0891008;p=ceph.git Make Ceph Python 3.9 aware Forwarded: no Last-Update: 2020-11-28 Add versions of interpreters Ceph didn't know about. Gbp-Pq: Name make-ceph-python-3.9-aware.patch --- diff --git a/cmake/modules/FindPython3Interp.cmake b/cmake/modules/FindPython3Interp.cmake index a1d076fbc..c34bd655a 100644 --- a/cmake/modules/FindPython3Interp.cmake +++ b/cmake/modules/FindPython3Interp.cmake @@ -69,7 +69,7 @@ unset(_Python3_NAMES) -set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0) +set(_PYTHON3_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) if(Python3Interp_FIND_VERSION) if(Python3Interp_FIND_VERSION_COUNT GREATER 1) diff --git a/cmake/modules/FindPython3Libs.cmake b/cmake/modules/FindPython3Libs.cmake index 38b44e236..cf90ebe8f 100644 --- a/cmake/modules/FindPython3Libs.cmake +++ b/cmake/modules/FindPython3Libs.cmake @@ -101,7 +101,7 @@ endif() # To avoid picking up the system Python.h pre-maturely. set(CMAKE_FIND_FRAMEWORK LAST) -set(_PYTHON3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0) +set(_PYTHON3_VERSIONS 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) if(Python3Libs_FIND_VERSION) if(Python3Libs_FIND_VERSION_COUNT GREATER 1)