Make Ceph Python 3.9 aware
authorThomas Goirand <zigo@debian.org>
Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)
committerThomas Goirand <zigo@debian.org>
Fri, 15 Jan 2021 11:26:14 +0000 (11:26 +0000)
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
cmake/modules/FindPython3Libs.cmake

index a1d076fbce50b80b7d1d6d66997323be7736682c..c34bd655aeb59e153d66b6cec9440c0204ef88fd 100644 (file)
@@ -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)
index 38b44e23692fcbd6c1a77b493b433c1754858339..cf90ebe8f7daffabede2b2ceda88cbbddd6a3bee 100644 (file)
@@ -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)