From 5789ff438a20fe18d8deaadcb7ad0202275e6728 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 21 Apr 2021 09:02:07 +0100 Subject: [PATCH] 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 --- cmake/modules/FindPython3Interp.cmake | 2 +- cmake/modules/FindPython3Libs.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2